21.02.2015, 14:36
Hello , I 've added a textdraw and i have done everything
now when i move my mouse near the textdraw it lights and it seems working fine
but when i Click nothing happens.
I'm using this Code
I've tried lots of this and none work even if i made SendClientMessage
and i 've checked that its selectable is true and also none works
Please help. [+rep]
now when i move my mouse near the textdraw it lights and it seems working fine
but when i Click nothing happens.
I'm using this Code
PHP код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == TDEditor_TD[10])
{
new titlestring[64];
new string[512];
ShowPlayerDialog(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,titlestring,string,"Login","Exit");
}
else if(clickedid == TDEditor_TD[6])
{
new titlestring[64];
new string[512];
ShowPlayerDialog(playerid,MAINMENU2,DIALOG_STYLE_PASSWORD,titlestring,string,"Register","Exit");
}
else if(clickedid == TDEditor_TD[8])
{
KickEx(playerid);
}
and i 've checked that its selectable is true and also none works
Please help. [+rep]