Admin chat help
#3

I guess the problem is here, in these codes
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1)
    if(gTeam[playerid] == TEAM_YAKUZA)
it should be
pawn Код:
if(PlayerInfo[playerid][pAdmin] >= 1 && gTeam[playerid] == TEAM_YAKUZA)
{
       //then further function
}
use "&&" to indicate if Player is admin AND he chooses some team,,, I guess this would help
Reply


Messages In This Thread
Admin chat help - by arathin - 02.03.2013, 22:44
Re: Admin chat help - by roar - 03.03.2013, 04:07
Re: Admin chat help - by YesYesYes - 03.03.2013, 05:23
Re: Admin chat help - by arathin - 03.03.2013, 06:23
Re: Admin chat help - by roar - 03.03.2013, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)