UpdateVehicleDamageStatus
#1

Hello!

I want to crash vehicle, on respawn after explode. But i dont know what i must put into '??'


Код:
vehicleVariables[vehicleid][vVehicleHP] = 250;
vehicleVariables[vehicleid][vVehiclePanels] = ???;
vehicleVariables[vehicleid][vVehicleDoors] = ???;
vehicleVariables[vehicleid][vVehicleLights] = ???;
vehicleVariables[vehicleid][vVehicleTires] = 15;
Can somebody help me?
Reply
#2

When in doubt, always consult the SA-MP Wiki first, it has all the information you need.
https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate
Take those functions made by JernejL and fiddle around with encode_panels() and similar functions.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)