Problem with textdraw
#5

Quote:
Originally Posted by SpiderPork
pawn Код:
forward MoneyUpdate(playerid);
new Timer[MAX_PLAYERS];

// OnPlayerConnect
Timer[playerid] = SetTimerEx("MoneyUpdate", 5000, 1, "i", playerid);

// OnPlayerDisconnect
KillTimer(Timer[playerid]);

public MoneyUpdate(playerid)
{
    TextDrawSetString(textdraw, GetPlayerMoney(playerid));
    TextDrawShowForPlayer(playerid, textdraw);
}
Make sure you create the textdraw for EACH player (new Text:TextDraw[MAX_PLAYERS], not new Text:Textdraw).
Ok ty , but i have there bank money , ids , zhetons , jobs , factions , pnumbers, respect , phonenumber ,levels and all things how to get these updated?
Is way to make that textdraw gone and come back in very fast ? that player dont see missing?
Reply


Messages In This Thread
Problem with textdraw - by Peep - 03.01.2010, 13:21
Re: Problem with textdraw - by SpiderPork - 03.01.2010, 13:22
Re: Problem with textdraw - by Peep - 03.01.2010, 13:23
Re: Problem with textdraw - by SpiderPork - 03.01.2010, 13:34
Re: Problem with textdraw - by Peep - 03.01.2010, 13:42
Re: Problem with textdraw - by Peep - 03.01.2010, 18:52
Re: Problem with textdraw - by Peep - 04.01.2010, 20:17
Re: Problem with textdraw - by Peep - 08.01.2010, 14:55
Re: Problem with textdraw - by Peep - 13.01.2010, 13:33
Re: Problem with textdraw - by Peep - 19.01.2010, 14:46

Forum Jump:


Users browsing this thread: 3 Guest(s)