Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerText(playerid, text[])
- {
- if(text[0] == '!')
- {
- if(playerGang[playerid] > 0)
- {
- new admcht[256];
- new string[256];
- strmid(admcht, text, 1, strlen(text));
- format(string, sizeof(string), "[ADMIN-CHAT]%s: %s", admcht);
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(IsPlayerAdmin(i)SendClientMessage(i COLOR_LIGHTBLUE, string);
- }
- }
- return 0;
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment