Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(strcmp(cmd, "/srules", true) == 0 || strcmp(cmd, "/showfaggot", true) == 0) {
- new tmp[256];
- tmp = strtok(cmdtext, idx);
- if(!strlen(tmp)) {
- SendClientMessage(playerid, COLOR_WHITE, "USAGE: /srules [Player ID]");
- return 1;
- }
- giveplayerid = strval(tmp);
- if(IsStaff_L4S(playerid)==1 ){
- if (IsPlayerConnected(giveplayerid)) {
- 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","");
- }else{
- format(erpstring, sizeof(erpstring), "(INFO) ID %d is not an active player.", giveplayerid);
- SendClientMessage(playerid, COLOR_BRIGHTRED, erpstring);
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment