Rereshing Textdraws
#1

Hey, i'm having a following problem.

When i press Rbutton it adds 1 to my ModName[playerid] but its not showing it on my textdraw Name[playerid]
Only when i redo the command it shows me the value of Name[playerid]

So how can i make that it updates my textdraw on each click?

Код:
		if(playertextid == RButton[playerid])
		{
			ModName[playerid]++;
			SCM(playerid,-1,"++");
This is the command

Код:
format(mnam, sizeof(mnam), "%d",ModName[playerid]);
		TextDrawSetString(Name[playerid], mnam);
Reply


Messages In This Thread
Rereshing Textdraws - by edzis84 - 12.10.2013, 12:08
Re: Rereshing Textdraws - by Patrick - 12.10.2013, 12:21
Re: Rereshing Textdraws - by edzis84 - 12.10.2013, 12:46
Re: Rereshing Textdraws - by edzis84 - 12.10.2013, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)