01.07.2014, 10:10
(
Последний раз редактировалось Team_PRO; 01.07.2014 в 11:33.
)
I want this to to be access by level 1 admins and following levels
When i do /admins no Message or dialog showing up
The admin Levels are
if possible change it to dialog not Message
Код:
CMD:adcc(playerid, params[]) { if(IsPlayerAdmin(playerid)) //Change this { new strg[128]; for(new i = 0; i < 200; i++) SendClientMessageToAll(-1," "); format(strg, sizeof strg, "Admininstrator has cleared the chat!"); SendClientMessageToAll(COLOR_LIGHTBLUE, strg); } return 1; }
The admin Levels are
Код:
Trial Moderator Moderator Administrator Head Administrator Owner
Код:
CMD:admins(playerid, params[]) { new pname[MAX_PLAYER_NAME], string[60]; for(new i=0;i<MAX_PLAYERS;i++) { if(IsPlayerConnected(i) && IsPlayerAdmin(i)) { GetPlayerName(i, pname, sizeof(pname)); format(string, sizeof(string), "Admin: %s ID: %d", pname, i); SendClientMessage(playerid, COLOR_WHITE, string); } } return 1; }