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.