12.03.2012, 21:23
This works for all RCON admins
If u don't want it for RCON admins only, then use your admin system instead of IsPlayerAdmin, if you don't know how to do it, don't script a roleplay server.
comprende?
pawn Код:
stock SendAdminMessage(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (IsPlayerAdmin(i))
{
SendClientMessage(i, color, string);
}
}
}
}
comprende?