13.06.2017, 22:46
Im trying to made a textdraws but there a problem... when i clicked.
PHP код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == Textdraw5)
{
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFB404}Account InLoading", "{047EFF}Welcome, your name is {FFB404}available {047EFF}in the list of names Please enter your account password!","{43E104}Login","{FF0505}Quit");
}
if(clickedid == Textdraw6)
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "{FFB404}Singup Account", "{2044E4}Sorry but your name is {E18904}not available. {2044E4}Please log in with your account!", "{43E104}Register","{FF0505}Quit");
}
return 1;
}