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