07.11.2012, 12:06
try changing the stock to
pawn Код:
stock SendMessageToAdmins(color,const msg[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pAdmin] > 0)
{
SendClientMessage(i,color,msg);
return 1;
}
}
}
return 0;
}