Two potential problems with admin system
#5

Yep money is an integer so thats why you get tag mismatch.
Shouldn't your message function look like this also,
pawn Код:
stock SendAdminMessage(color,const string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(!IsPlayerConnected(i))continue;
        if(PlayerInfo[playerid][pAdminLevel] > 0)
            SendClientMessage(i, color, string);
    }
}
Reply


Messages In This Thread
Two potential problems with admin system - by admantis - 05.01.2011, 18:30
Re: Two potential problems with admin system - by iggy1 - 05.01.2011, 18:32
Re: Two potential problems with admin system - by admantis - 05.01.2011, 18:34
Re: Two potential problems with admin system - by veyron - 05.01.2011, 18:36
Re: Two potential problems with admin system - by iggy1 - 05.01.2011, 18:37
Re: Two potential problems with admin system - by admantis - 05.01.2011, 18:38
Re: Two potential problems with admin system - by iggy1 - 05.01.2011, 18:40
Re: Two potential problems with admin system - by veyron - 05.01.2011, 18:40
Re: Two potential problems with admin system - by admantis - 05.01.2011, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)