10.07.2011, 07:57
Don't think you need to reshow it using TextDrawSetString, but this should fix it (Sleepy, 1:07 Am -_-):
pawn Код:
public GivePlayerPaycheck(playerid, ammount)
{
new string[80]
pInfo[playerid][pPaycheck] += ammount;
format(string ,sizeof(string), "[Paycheck] + $ %i [Total: $ %i", ammount, pInfo[playerid][pPaycheck]);
TextDrawHideForPlayer(playerid, PaycheckTD[playerid]);
TextDrawSetString(PaycheckTD[playerid], string);
TextDrawShowForPlayer(playerid, PaycheckTD[playerid]);
SetTimerEx("HidePaycheckTD", 5000, false, "i", playerid);
return 1;
}