
08-01-2007, 12:07 AM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
|
Ya, that won't work.
You could do something similar in a database NPC, and access findNPC("timeNPC").this.tvar or such... but ya, timevar/timevar2 is the simplest way to do it. Making your own variables is unneeded really.
Hell, you could even go as far as grabbing Timevar2 from the serverside on the onCreated, and then manually add time onto it clientside, and sync it every minute or so, to keep traffic to the serverside, then back to the clientside, down.
EDIT: Just noticed your edit, timevar2 is useful because it's updated by the nanoseconds, compared to timevar which is just updated 1 every 5 seconds. |
Last edited by DustyPorViva; 08-01-2007 at 12:21 AM..
|
|
|