Car doors and hood
#3

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 ?
Reply


Messages In This Thread
Car doors and hood - by Dr - 12.09.2011, 03:08
Re: Car doors and hood - by Marricio - 12.09.2011, 03:19
Re: Car doors and hood - by =WoR=G4M3Ov3r - 12.09.2011, 03:24
Re: Car doors and hood - by Marricio - 12.09.2011, 03:26
Re: Car doors and hood - by =WoR=G4M3Ov3r - 12.09.2011, 03:28
Re: Car doors and hood - by Marricio - 12.09.2011, 03:29
Re: Car doors and hood - by =WoR=G4M3Ov3r - 12.09.2011, 03:31
Re: Car doors and hood - by Dr - 12.09.2011, 03:32
Re: Car doors and hood - by =WoR=G4M3Ov3r - 12.09.2011, 03:35
Re: Car doors and hood - by Marricio - 12.09.2011, 03:36

Forum Jump:


Users browsing this thread: 1 Guest(s)