05.01.2013, 15:04
can someone help me make a admin chat so when i type /a it sends my text to all admins using if(PlayerInfo[playerid][pAdmin] >= ), this is what i currently got
im just trying to figure out how to send this to all admins rep+ if you help
Код:
CMD:a(playerid, params[])
{
new string[128];
if(isnull(params)) return SendClientMessage(playerid,-1,"USAGE: /a [adminchat]");
format(string, sizeof(string), "Admin Chat: %s %s", GetName(playerid), params);
printf("Admin Chat: %s %s", GetName(playerid), string); // not sure if i need that
return 1;
}


