03.05.2013, 01:27
pawn Код:
forward SendAdminMessage(color, string[]);
public SendAdminMessage(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
SendClientMessage(i, color, string);
}
}
}
}
pawn Код:
BCRP.pwn(90) : error 017: undefined symbol "PlayerInfo"
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1)