Thread: time
View Single Post
  #8  
Old 10-11-2005, 11:51 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by excaliber7388
I just need it to count hours and such, the other stuff would be easy to add anyway, I am still having trouble setting the time though. Can you edit the timevar? Or is there another way? Like:
NPC Code:
 if(created){
timevar=timevar-2;
}


Any help?
o.O err timevar is a builtin variable. the only way to change timevar is reset your server and it will begin counting at 0 again. Use '%' to figure out the minutes, and hours, and such.
__________________
Reply With Quote