Help Team Cars
#1

well i have followed a tutorial on making team cars anf it worked i made the cars and messages but theres a problem everyone can drive the car I put a RemovePlayerfromVehicle but it doesn't work!! it still lets ppl drive the car

here it is i have a stock also to check the cars

Код:
if(IsAYCar(vehicleid) && !ispassenger)
	 {
            if(PlayerInfo[playerid][pMember] == 6 ||PlayerInfo[playerid][pLeader] == 6)
            {
            SendClientMessage(playerid, COLOR_WHITE, "You are a member from the mafia.");
            }
	    else 
            { 
               SendClientMessage(playerid, COLOR_WHITE, "Ne ste del od mafijata.");               
                RemovePlayerFromVehicle(playerid);
            }

         }
How can i make it that only those members can drive the cars and when another player enters that isnt in that team he gets kicked from the car
Reply


Messages In This Thread
Help Team Cars - by Dark Crow - 25.02.2012, 22:23
AW: Help Team Cars - by dalkgamler - 25.02.2012, 22:27
Re: Help Team Cars - by ryansheilds - 25.02.2012, 22:31
Re: Help Team Cars - by Dark Crow - 25.02.2012, 22:31
AW: Help Team Cars - by dalkgamler - 25.02.2012, 22:34
Re: Help Team Cars - by ryansheilds - 25.02.2012, 22:53

Forum Jump:


Users browsing this thread: 2 Guest(s)