Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(!strcmp(cmdtext, "//", true, 2) && IsPlayerAdmin(playerid))
- {
- new pname[24];
- if(strlen(cmdtext) < 3)
- return SendClientMessage(playerid,Vermelho, "[ERRO]: // [Texto]");
- GetPlayerName(playerid, string, sizeof string);
- format(string, sizeof string, "[ADMIN CHAT]: %s: %s", string, cmdtext[2]);
- for(new i; i < MAX_PLAYERS; i++)
- if(IsPlayerAdmin(i))
- SendClientMessageToAll(0x33CCFFAA, string);
- return 1;
- }
Add Comment
Please, Sign In to add comment