Advertisement
Guest User

niixie

a guest
Jul 8th, 2010
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.53 KB | None | 0 0
  1. public OnPlayerCommandText(playerid, cmdtext[])
  2. {
  3.     if(!strcmp(cmdtext,"/want",true))
  4.         {
  5.         new string[128], playername[MAX_PLAYER_NAME];
  6.         GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
  7.             SendClientMessage(playerid,0xE100E1FF,"|Your Order Send to admins|");
  8.             format(string, sizeof(string), "%s\"(id: %d) Want to be an admin",playername,playerid);
  9.  
  10.             for(new i = 0; i < MAX_PLAYERS; i++)
  11.         {
  12.             if(IsPlayerAdmin(i))
  13.             {
  14.                 SendClientMessage(i, 0x008040FF, string);
  15.             }
  16.         }  
  17.     }
  18.     return 1;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement