12.10.2013, 12:08
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?
This is the command
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,"++");
Код:
format(mnam, sizeof(mnam), "%d",ModName[playerid]); TextDrawSetString(Name[playerid], mnam);