Textdraw won't hide
#2

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;
}
Reply


Messages In This Thread
Textdraw won't hide - by Outcast - 10.07.2011, 07:52
Re: Textdraw won't hide - by PotH3Ad - 10.07.2011, 07:57
Re: Textdraw won't hide - by Outcast - 10.07.2011, 08:20

Forum Jump:


Users browsing this thread: 2 Guest(s)