Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(!strcmp(cmdtext,"/want",true))
- {
- new string[128], playername[MAX_PLAYER_NAME];
- GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
- SendClientMessage(playerid,0xE100E1FF,"|Your Order Send to admins|");
- format(string, sizeof(string), "%s\"(id: %d) Want to be an admin",playername,playerid);
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerAdmin(i))
- {
- SendClientMessage(i, 0x008040FF, string);
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement