Advertisement
Guest User

Created with Pastebin Mobile

a guest
May 12th, 2018
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 0.37 KB | None | 0 0
  1. new MGuard;
  2.  
  3. public OnPlayerConnect(playerid)
  4.  
  5. if(MGuard == 0)
  6. {
  7. ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT, "Login", "Put MGuard code below", "Unlock", "Cancel");
  8.  
  9. SendClientMessage(playerid, COLOR_RED, "Mode is locked by MGuard, put a code in order to unlock it.");
  10.  if(MGuardCode != DIALOG_LOGIN) { SendClientMessage(playerid, -1, "Wrong MGuard Code!");}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement