Remove vehicle doors
#4

Quote:
Originally Posted by Dragony92
Посмотреть сообщение
pawn Код:
new panels,doors,lights,tires;
GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
doors = encode_doors(4, 4, 4, 4, 0, 0);
UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, tires);



encode_doors(bonnet, boot, driver_door, passenger_door, behind_driver_door, behind_passenger_door)
{
    #pragma unused behind_driver_door
    #pragma unused behind_passenger_door
    return bonnet | (boot << 8) | (driver_door << 16) | (passenger_door << 24);
}
This is not gonna work instead of making it higher you lower it, im not 100 percent sure on how to do this but the UpdateVehicleDamageStatus function got something to do with it.
Reply


Messages In This Thread
Remove vehicle doors - by Nourdin - 24.01.2014, 15:19
Re: Remove vehicle doors - by Wizz123 - 24.01.2014, 15:23
Re: Remove vehicle doors - by Dragony92 - 24.01.2014, 15:23
Re: Remove vehicle doors - by Wizz123 - 24.01.2014, 15:27
Re: Remove vehicle doors - by Nourdin - 24.01.2014, 15:30
Re: Remove vehicle doors - by Dragony92 - 24.01.2014, 15:43

Forum Jump:


Users browsing this thread: 1 Guest(s)