02.04.2013, 03:37
Okay well I made this simple system, but it wont work. Whenever you click the textdraw, nothing happens. Any suggestions?
Everything works good until you click it. It wont work when you click it. It's setted as selectable but it doesnt do anything. It wont show that SendClientMessage
Also yeah
Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == JoinArena) { if(ArenaStarted == 1) { SendClientMessage(playerid, COLOR_RED, "Arena already started. Putting you in queue!"); return 1; } else { SendClientMessage(playerid, COLOR_YELLOW, "<!>Bla!"); } return 1; } return 1; }
Also yeah
Код:
SelectTextDraw(playerid, 0x00FF00FF); TextDrawShowForPlayer(playerid, JoinArena);