Trucking Job, Bicycle bug
#1

So when i get on bicycle i cant drive with it but i have set that when you get on bicycle Engine is on.

PHP код:
//OnPlayerEnterVehicle
    
if(engine == VEHICLE_PARAMS_UNSET) switch(GetVehicleModel(vehicleid)) {
        case 
509481510VehicleFuel[vehicleid] = 100arr_Engine{vehicleid} = 1SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
        default: 
SetVehicleParamsEx(vehicleid,VEHICLE_PARAMS_OFF,VEHICLE_PARAMS_OFF,alarm,doors,bonnet,boot,objective), arr_Engine{vehicleid} = 0;
    }
    new 
pveh GetVehicleModel(GetPlayerVehicleID(playerid));
    if(
pveh == 510 || pveh == 462 || pveh == 481 || pveh == 509)
    {
        
arr_Engine{vehicleid} = 1;
        
GetVehicleParamsEx(pveh,engine,lights,alarm,doors,bonnet,boot,objective);
        
SetVehicleParamsEx(pveh1lights00000);
    }
//OnPlayerStateChange under     if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
        
new engine,lights,alarm,doors,bonnet,boot,objectivevehicleid;
        
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
        if(
GetVehicleModel(vehicleid) == 509 || GetVehicleModel(vehicleid) == 481 || GetVehicleModel(vehicleid) == 510)
        {
            
VehicleFuel[vehicleid] = 100;
            
arr_Engine{vehicleid} = 1;
            
SetVehicleParamsEx(vehicleid1lightsalarmdoorsbonnetbootobjective);
        } 
And when i take trucking job mission 26, county run and when i enter checkpoint it says i'm not in the banks car. ANd when i enter by feet it shows me not the right checkpoint to return.

Code http://pastebin.com/2sW4EE8u
Reply


Messages In This Thread
Trucking Job, Bicycle bug - by FaZeRs - 08.01.2015, 16:23
Re: Trucking Job, Bicycle bug - by Ciarannn - 08.01.2015, 16:32
Re: Trucking Job, Bicycle bug - by FaZeRs - 08.01.2015, 19:43

Forum Jump:


Users browsing this thread: 4 Guest(s)