28.12.2012, 00:53
Hm, i think that the reason (If i understand what you want) is... You're using the var of the hour to set the Player/World Time ? If you don't understand, see the example :
Study the FS about time, created by SAMP Team, "gl_realtime"
here : http://pastebin.com/yjgtCJP0
Hope that helped you !
pawn Код:
new hour, minute, second;
gettime(hour, minute, second);
SetWorldTime(hour);
here : http://pastebin.com/yjgtCJP0
Hope that helped you !
![afro](images/smilies/mrgreen.gif)