Admin Override
#2

You'll have to use
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");
}
Hope it helped
Reply


Messages In This Thread
Admin Override - by Jay_Dixon - 30.08.2012, 02:49
Re: Admin Override - by Ranama - 30.08.2012, 07:24
Re: Admin Override - by clarencecuzz - 30.08.2012, 07:45
Re: Admin Override - by Jay_Dixon - 30.08.2012, 17:46

Forum Jump:


Users browsing this thread: 1 Guest(s)