little hel with UpdateVehicleDamageStatus
#2

Wiki example:

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
The door values are found here: https://sampwiki.blast.hk/wiki/DoorStates

For example:

pawn Код:
UpdateVehicleDamageStatus(vehicleid, panels, 1, lights, tires);
Something like ^.
Reply


Messages In This Thread
little hel with UpdateVehicleDamageStatus - by forgottenkings - 14.04.2014, 05:29
Re: little hel with UpdateVehicleDamageStatus - by Dignity - 14.04.2014, 06:14

Forum Jump:


Users browsing this thread: 1 Guest(s)