Quote:
Originally Posted by Marricio
Took from SA-MP wiki. (https://sampwiki.blast.hk/wiki/DoorStates)
And taking the example from SA-MP wiki.( https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus)
pawn Код:
new panels, doors, lights, tires; GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires); UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, 15); //Setting tires to 15 will pop them all
And editing it..
pawn Код:
new panels, doors, lights, tires; GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires); UpdateVehicleDamageStatus(vehicleid, panels, 15, lights, tires); //If you set tires to 15 to pop them, i think they are used to destroy a part of the vehicle also.
NOTE: I never used that function, or any type of those, so i dont know if it works. Not tested.
Good luck, Dr.
|
https://sampwiki.blast.hk/wiki/TireStates
You haven't read this, have you ?