[How to do]When player is on dialog cant use commands
#6

pawn Код:
new PuttingAdminPin[MAX_PLAYERS];
In the dialog cmd, after ShowDialog:

pawn Код:
PuttingAdminPin[playerid] = 1;
To stop using commands:

pawn Код:
if(PuttingAdminPin[playerid] == 1)
{
    SendClientMessage(playerid, WHITE, "{FF4040}ERROR:{FFFFFF}Can not use commands right now.");
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)