SetVehicleParamsEx Problem
#2

Fix Your English , You Are Lucky that me understant you.


Do It


Quote:

public OnVehicleSpawn(vehicleid)
{
new engine, lights, alarm, doors, bonnet, boot, objective;
if(IsAOwnedVehicle(vehicleid))
{
SetVehicleComponents(vehicleid);
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
if(VehicleInfo[vehicleid][Locked] == true) SetVehicleParamsEx(vehicleid, 0, 0, Lock 1, bonnet, boot, objective);
else SetVehicleParamsEx(vehicleid, 0, 0, alarm, 0, bonnet, boot, objective);
ChangeVehicleColor(vehicleid, VehicleInfo[vehicleid][vColor1], VehicleInfo[vehicleid][vColor2]);
vEngine[vehicleid] = 0;
}
else
{
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(vehicleid, 0, 0, alarm, doors, bonnet, boot, objective);
vEngine[vehicleid] = 0;
}
return 1;
}

i think its will work with you.

Please +REP Me if me helped you
Reply


Messages In This Thread
SetVehicleParamsEx Problem - by 032.Marcus - 05.06.2014, 21:05
Re: SetVehicleParamsEx Problem - by MichealScript - 05.06.2014, 21:20
Re: SetVehicleParamsEx Problem - by diego200052 - 05.06.2014, 21:20
Re: SetVehicleParamsEx Problem - by MichealScript - 05.06.2014, 21:26
Re: SetVehicleParamsEx Problem - by 032.Marcus - 06.06.2014, 06:57

Forum Jump:


Users browsing this thread: 2 Guest(s)