Need help. 1 error 2 lines. (argument 2)
#6

Put this some where in the script :
pawn Код:
forward SendClientMessageToAdmins(color, string[], alevel);
pawn Код:
public SendClientMessageToAdmins(color, string[], alevel)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if (PlayertInfo[i][pAdmin] >= alevel || IsPlayerAdmin(i))
        {
            SendClientMessage(i, color, string);
        }
    }
    printf("%s", string);
    return 1;
}
color - message color
string[] - the string wich will show
alevel - the level from wich level will show to admins
Reply


Messages In This Thread
Need help. 1 error 2 lines. (argument 2) - by Request - 09.01.2012, 13:53
Re: Need help. 1 error 2 lines. (argument 2) - by Konstantinos - 09.01.2012, 13:56
Re: Need help. 1 error 2 lines. (argument 2) - by Request - 09.01.2012, 13:58
Re: Need help. 1 error 2 lines. (argument 2) - by Request - 09.01.2012, 14:21
Re: Need help. 1 error 2 lines. (argument 2) - by Request - 09.01.2012, 15:24
Re: Need help. 1 error 2 lines. (argument 2) - by [BG]Gamer - 09.01.2012, 16:44
Re: Need help. 1 error 2 lines. (argument 2) - by Request - 09.01.2012, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)