vehicle bug
#2

cuz u have
Код:
if(pInfo[playerid][Faction] > 1 || pInfo[playerid][Faction] < 1) return  RemovePlayerFromVehicle(playerid);
that means if u have more than 1 in Faction OR less than 1 in Faction - u will be removed from vehicle.

try to
Код:
 case PLAYER_STATE_DRIVER:
	    {
	                if(vehicleid >= LEOveh[0] && LEOveh[11] >= vehicleid)
			{
if(pInfo[playerid][Faction] != 1) return  RemovePlayerFromVehicle(playerid);
			  // code here
                        }

			else if(vehicleid >= EMSveh[0] && EMSveh[6] >= vehicleid)
			{
			    if(pInfo[playerid][Faction] != 2) return  RemovePlayerFromVehicle(playerid);
                          //code here
                        }
			}
Reply


Messages In This Thread
vehicle bug - by CSLangdale - 15.04.2016, 18:33
Re: vehicle bug - by BloodyRP - 15.04.2016, 18:48

Forum Jump:


Users browsing this thread: 1 Guest(s)