One small question!
#5

Quote:
Originally Posted by Roko_foko
Посмотреть сообщение
SetTimerEx("Payday",360000,true,"i",playerid) put OnPlayerConnect
One real hour is 3'600'000, not 360'000 because: 60*60=3600; 3'600*1000=3'600'000; So real code is:

SetTimerEx("Payday",3600000,true,"i",playerid);

Also if you would put it under OnPlayerConnect I suggest you to add Variable to track each Timer for each player and then on disconnect kill timer of player that left the server.
Reply


Messages In This Thread
One small question! - by Ruffian - 09.09.2012, 13:46
Re: One small question! - by Rudy_ - 09.09.2012, 13:55
Re: One small question! - by Ruffian - 10.09.2012, 20:47
Re: One small question! - by Roko_foko - 10.09.2012, 20:49
Re: One small question! - by [MG]Dimi - 10.09.2012, 21:20
Re: One small question! - by Ruffian - 10.09.2012, 22:45
Re: One small question! - by Ruffian - 11.09.2012, 00:45
Re: One small question! - by Ruffian - 11.09.2012, 22:47
Re: One small question! - by Ruffian - 11.09.2012, 23:46
Re: One small question! - by TheDeath - 12.09.2012, 12:11

Forum Jump:


Users browsing this thread: 3 Guest(s)