Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:a(playerid, params[])
- {
- if(PlayerInfo[playerid][AdminLevel])
- {
- if(AdminChat[playerid] == 1)
- {
- new msg[128], string[168];
- if(sscanf(params, "s[128]", msg)) return SendClientMessage(playerid, GREY, "POMOC: /a [poruka]");
- {
- format(string,sizeof(string), "* %s %s: %s", GetAdminRank(playerid), RemoveUnderScore(playerid), msg);
- SendAdminMessage(BLUE, string);
- }
- }
- else return SendClientMessage(playerid, GREY, "da dozvolite /a /togachat.");
- }
- else return NotAdmin(playerid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement