19.12.2013, 17:05
Are you trying to decrease the player money (givepayermoney) 100 each one second or that another script using new function ? if you're trying to make new function try that
pawn Код:
SetTimerEx("UpdateBailSentence", 1000, true, "i", playerid);
public UpdateBailSentence(playerid)
{
new string[128], bailsens[20];
PlayerInfo[playerid][pBailSentence] -= 100;
format(string, sizeof string, "Bail Sentence - $%i", bailsens);
TextDrawSetString(JailList, string);
TextDrawShowForPlayer(playerid, JailList);
return 1;
}