View Single Post
Old 09/02/2015, 05:33 PM   #4
Schneider
Gangsta
 
Schneider's Avatar
 
Join Date: Jun 2007
Location: Netherlands
Posts: 515
Reputation: 136
Default Re: Problem declaring/calling a function

pawn Code:
forward SendAdminsMessage(playerid,string[]);
public SendAdminsMessage(playerid,string[])
{
    foreach (new i: Player)
    {
        if(PlayerInfo[i][pAdmin]>0)
        SendClientMessage(i,RED,string);
    }
    return 1;
}
Schneider is offline   Reply With Quote