16.10.2013, 01:10
(
Последний раз редактировалось AnonScripter; 16.10.2013 в 01:11.
Причина: ..
)
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;
}