Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:giverules(playerid, params[])
- {
- if(IsPlayerAdmin(playerid))
- {
- new targetid;
- if(sscanf(params, "i", targetid))
- {
- if(IsPlayerConnected(targetid))
- {
- new string[952];
- strcat(string, "xTreme Missions Rules:\n\n");
- strcat(string, "{020AFD}Cheating, Hacking, Mods[which give you an advantages ovwe other player and bug abusing - {FE0004}Not allowed\n");
- strcat(string, "{020AFD}Swearing, Insulting, Spamming And Flooding - {FE0004}Not allowed\n");
- strcat(string, "{020AFD}Spawn Killing, Team Jacking and Team Killing - {FE0004}Not allowed\n");
- strcat(string, "{020AFD}Parking vehicles to block a path[uniess you directly spawned it into a well] - {0AA61C}Allowed\n");
- strcat(string, "{020AFD}{020AFD}Prumium abuse[healing in a fight/fixing you vehicle car while getting shot at and etc] - {FE0004}Not Allowed");
- strcat(string, "\n\n");
- strcat(string, "{FE0004}Respect Our Scripter: RedRex ");
- ShowPlayerDialog(targetid, 44, DIALOG_STYLE_MSGBOX, "Rules", string, "Accept", "");
- }
- else
- {
- SendClientMessage(playerid, -1, "Invalid Player.");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, "USAGE: /givesrules [playerid]");
- }
- }
- else
- {
- SendClientMessage(playerid, -1, "You must be logged in as a RCON Administrator.");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment