SHARE
TWEET

Untitled

a guest Jan 12th, 2017 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(Player[playerid][pAdmin] <= 0) return SendClientMessage(playerid, 0xFF9900AA, "Этот чат доступен только администраторам");
  2. if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "Используйте: /a [текст]");
  3. static const sAdminRankName[5] [12] = { "Хелпер", "Админ", "Тех.Маппер", "Ст.админ", "Гл.админ" };
  4. new string[144];
  5. format(string, sizeof(string), "*%s %s[%i]: %s", sAdminRankName[Player[playerid][pAdmin]-1], Name(playerid), playerid, params);
  6. Achat(0xA85400AA, string, 1);
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top