Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   How To: Get Date? D= (https://forums.graalonline.com/forums/showthread.php?t=78313)

RyDaze 01-12-2008 03:33 AM

How To: Get Date? D=
 
Ok, I want to learn how to make a function to get the current date in real life..

so something like where it returns, this.date = "1/11/2008"; or something so I can use it for some of my personal scripts.

Any idea's how I would go about this?, getting the date in graal?

Novo 01-12-2008 03:39 AM

http://forums.graalonline.com/forums...ad.php?t=72260

=D

RyDaze 01-12-2008 03:52 AM

Thanks :)

Angel_Light 01-12-2008 05:41 AM

Even that get inaccurate, wait for timevar3. =]

DustyPorViva 01-12-2008 06:03 AM

I personally don't see why you'd want to use it for your server... I guess for logging and such? But for gameplay, I say make up a faster clock. It's much more appealing for players.
Also Angel is right, it does get inaccurate as apparently timevar2(which it is based off of), doesn't stay accurately sync'ed with the server.

smirt362 01-12-2008 06:04 AM

I thought you were asking people how to get a date when I read the title...

Now I feel kinda silly.

Jeffyy 01-12-2008 06:33 AM

http://www.eharmony.com/
;]

Tigairius 01-12-2008 06:48 AM

Quote:

Originally Posted by Jeffyy (Post 1369282)
;]

Quote:

Originally Posted by Forum Rules
c) You are not permitted to make external links or URL's (whether they be clickable links, copy and paste, etc...), if they are not pointing to a Graalonline made/ran site, or websites for playerworlds (wiki.graal.net , graal.net, graalonline.com, the support center, etc..., or sites for Playerworlds) . In some very rare cases, we may accept some links after being approved by a administrator or super moderator. Sites for Playerworlds will be moderated for inappropriate content, and will be removed if found inappropriate.
This means that no links are allowed at all outside of the lounge except the ones stated above, without permission from the supermods or or admins
This also means, no links are allowed in signatures other than ones mentioned above unless approved.

;)

MrAnonymous_P2P 01-12-2008 08:44 AM

Quote:

Originally Posted by Tigairius (Post 1369283)
;)

Yay for Tig to ruin a joke again! :D.... Oh wait

Jeffyy 01-12-2008 09:04 PM

Oops D:

Kristi 01-13-2008 05:25 PM

Quote:

Originally Posted by Angel_Light (Post 1369276)
Even that get inaccurate, wait for timevar3. =]

There is nothing inaccurate about it.

PS: I died laughing when I read the thread title.


All times are GMT +2. The time now is 04:42 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.