Timer
#2

PHP код:
SetTimerEx("Timer",1000false"ii"playerid100); 
PHP код:
forward Timer(playeridtime);
public 
Timer(playeridtime)
{
    if(
time != 0)
    {
        new 
string[5];
        
format(stringsizeof(string), "%d"time);
        
GameTextForPlayer(playeridstring10005);
        
SetTimerEx("Timer"1000false"ii"playeridtime-1);
    }
    else
    {
        
GameTextForPlayer(playerid"~g~GO!"25003); // or replace with anything else
    
}
    return 
true;

Reply


Messages In This Thread
Timer - by Micko123 - 01.11.2016, 08:36
Re: Timer - by StrikerZ - 01.11.2016, 08:40
Re: Timer - by Micko123 - 01.11.2016, 08:43
Re: Timer - by StrikerZ - 01.11.2016, 08:44
Re: Timer - by Micko123 - 01.11.2016, 09:13
Re: Timer - by Logic_ - 01.11.2016, 09:24
Re: Timer - by Micko123 - 01.11.2016, 09:34

Forum Jump:


Users browsing this thread: 1 Guest(s)