Can somebody help me spot the problem with this code?
#1

pawn Код:
if(CarCheck == Cars[c12] )
        {
            if(gTeam[playerid] == TEAM_BALLAS)
            {
                if( PlayerInfo[playerid][level] >= 5)
                {
                    SendClientMessage(playerid, COLOUR_PURPLE, "You are now flying your teams Maverick!");
                }
                else
                {
                    SendClientMessage(playerid, COLOUR_RED, "You are not in the Ballas or you are not Level 5!");
                    RemovePlayerFromVehicle(playerid);
                }
            }
I've been looking for ages.When someone from the Ballas gets in it kicks them from the chopper saying they have to be level 5, that's what i want it to say but if someone from Grove, level 1 - 5 gets in it lets them fly even though the chopper is set for Ballas only. Anyone see the problem?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)