Guest User

Untitled

a guest
Nov 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. if(strcmp(cmd, "/srules", true) == 0 || strcmp(cmd, "/showfaggot", true) == 0) {
  2. new tmp[256];
  3. tmp = strtok(cmdtext, idx);
  4.  
  5. if(!strlen(tmp)) {
  6. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /srules [Player ID]");
  7. return 1;
  8. }
  9. giveplayerid = strval(tmp);
  10. if(IsStaff_L4S(playerid)==1 ){
  11. if (IsPlayerConnected(giveplayerid)) {
  12.  
  13.  
  14. ShowPlayerDialog(playerid,281,DIALOG_STYLE_MSGBOX,"ANGEL PINE ROLEPLAY RULES","-Deathmatching is STRICTLY forbidden.\n-Hacking, Cheating, Abusing, AND spamming is forbidden.\n-The server is in North America, therefore english is to be spoken at ALL times.\n-GPMRP Security Officers are to be respected at ALL times.\n\n\nNOT ALL RULES ARE LISTED. FOR A COMPLETE LIST GO TO GTAPOLICEMODS.COM","Close","");
  15. }else{
  16. format(erpstring, sizeof(erpstring), "(INFO) ID %d is not an active player.", giveplayerid);
  17. SendClientMessage(playerid, COLOR_BRIGHTRED, erpstring);
  18. }
  19. }
  20. return 1;
  21. }
Add Comment
Please, Sign In to add comment