Two big problems (extra parameters & adminchat)
#7

Quote:
Originally Posted by willsuckformoney
Посмотреть сообщение
Try replacing SendAdminMessage with SendClientMessage, may not work. Looking at something else too.

EDIT: You have sscanf and zcmd?
pawn Код:
stock SendAdminMessage(color,const string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) == 1) if(PlayerInfo[i][pAdminLevel] > 0) SendClientMessage(i, color, string);
    }
    return 1;
}
Thats wat does SendAdminMessage, loop, check if players are admin and Send a client message so I doubt that's the problem.

And no I don't know how to use sscanf or zcmd, only strtok with strcmp but im very used to it so I dont care
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)