30.08.2012, 07:24
You'll have to use
ShowPlayerDialog(playerid, blablabla);
OnDialogResponse(playerid, blablabla);
and then you'll have to create a variable like:
Hope it helped
ShowPlayerDialog(playerid, blablabla);
OnDialogResponse(playerid, blablabla);
and then you'll have to create a variable like:
Код:
new adminpassword[30] = "My Cool Admin Password" //OnDialogResponse you use if(inputext == adminpassword[30]){do the thing you want to happen here} else{ SendClientMessageToAll(-1, "Someone failed at logging into the admin section"); }
