07.03.2018, 13:20
PHP код:
if(text[0] == '@' && pInfo[playerid][Admin] < 1)
{
new str[128];
format(str, sizeof(str), "{F781F3}(ADMIN CHAT) %s(%d): %s", PlayerName[playerid],playerid, text);
foreach(new i : Player)
{
if(pInfo[playerid][Admin] > 0)
{
SendClientMessage(i, -1, str);
}
}
return 1;
}