Seconds Timer
#1

why this second timer doesn't work, it keeps the (%i) 20 in the game and doesn't decrease

pawn Код:
CMD:robstore(playerid, params[])
{
    Seconds[playerid] = 20;
    SetTimerEx("RobberySeconds", 1000, false, "i", playerid);
    format(string, sizeof(string), "~w~Robbery Completed in %i Seconds", Seconds[playerid]);
}

public RobberySeconds(playerid)
{
    if(Seconds[playerid] >= 1)
    {
        Seconds[playerid] --;
    }
    return 1;
}
Reply


Messages In This Thread
Seconds Timer - by AnonScripter - 16.10.2013, 01:10
Re: Seconds Timer - by DarkLored - 16.10.2013, 01:12
Re: Seconds Timer - by AnonScripter - 16.10.2013, 08:37

Forum Jump:


Users browsing this thread: 1 Guest(s)