27.04.2018, 15:58
i m working on new register login system i made textdraws and i did selecttext too
but its not working i am not able to click on textdraw and my textdraw are already selectable
help please.
i removed if(_
layertextid != INVALID_TEXT_DRAW)
too but still not working help please
but its not working i am not able to click on textdraw and my textdraw are already selectable
help please.
Код:
public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
{
new str[200];
if(_:playertextid != INVALID_TEXT_DRAW)
{
if(playertextid == LOGIN_PLAYER[playerid][3])
{
my mssg
}
else if(playertextid == LOGIN_PLAYER[playerid][12])
{
my dialog login
}
else if(playertextid == REGISTER_PLAYER[playerid][3])
{
mymssg
}
else if(playertextid == REGISTER_PLAYER[playerid][12])
{
my dialog
}
for(new maxtd;maxtd<13;maxtd++)
{
PlayerTextDrawHide(playerid, LOGIN_PLAYER[playerid][maxtd]);
PlayerTextDrawHide(playerid, REGISTER_PLAYER[playerid][maxtd]);
}
CancelSelectTextDraw(playerid);
}
return 0;
}
layertextid != INVALID_TEXT_DRAW) too but still not working help please


