19.12.2013, 16:38
i want to make the bail cash decrease 100$ each 1 second and doesn't work, what's the problem?
pawn Код:
SetTimerEx("UpdateBailSentence", 1000, true, "i", playerid);
public UpdateBailSentence(playerid)
{
new string[128], bailsen;
bailsen = PlayerInfo[playerid][pBailSentence] - 100;
bailsen --;
format(string, sizeof string, "Bail Sentence - $%i", bailsen);
TextDrawSetString(JailList, string);
TextDrawShowForPlayer(playerid, JailList);
return 1;
}