02.05.2012, 01:04
Quote:
Show the code,
also make sure you're not running on a timer with true statement or using OnPlayerUpdate. |
Код:
SetTimer("OnPlayerUpdateEx", 500, true);
Код:
function RobberyComplete(playerid) { new string[128]; if(RobberyData[playerid][RobberyTime] >= 1) { format(string, sizeof(string), "robbery time: %i", RobberyData[playerid][RobberyTime]); GameTextForPlayer(playerid, string, 4000, 3); RobberyData[playerid][RobberyTime] --;
Код:
RobberyData[playerid][RobberyTime] = robberyTime; RobberyData[playerid][RobberyTimer] = SetTimerEx("RobberyComplete", 1000, true, "i", playerid);