26.08.2015, 19:14
US_Timers include what it does? well it lets you set your own time and countdown you can like this 00:15 seconds
01:00:15 and 01:01:01:01 it gets seconds minutes hours and days!
Usage:
Links:
Solidfiles: http://www.solidfiles.com/d/f8c3ec930b/
Pastebin: http://pastebin.com/NVwm0N08
.
01:00:15 and 01:01:01:01 it gets seconds minutes hours and days!
Usage:
pawn Код:
TYPES = SEC, MIN, HOUR, DAY //Sec is seconds Min is minutes HOUR is hours DAY is days
US_SetTimer(playerid, type); //setting timer to count 1 2 3....
US_ResetTimer(playerid); //setting all timers to 0
US_SetCountDown(playerid, type); //count down 3 2 1. ...
US_GetSecs(playerid); //Getting Player seconds
US_GetMins(playerid); //Getting Player minutes
US_GetHours(playerid); //Getting Player hours
US_GetDays(playerid); //Getting Player days.
US_SetTimerTime(playerid, days, hours, minutes, seconds); //Sets time to exacly value you chose
US_SetTimerAdd(playerid, days, hours, minutes, seconds); //Adding time you want example 5 sec after this commands it will become 35 and keep 36, 37...
Solidfiles: http://www.solidfiles.com/d/f8c3ec930b/
Pastebin: http://pastebin.com/NVwm0N08
.