Car doors, windows, tires -
Dr - 11.09.2011
Hello,
Is there a way to possibly remove those? A function or something? I noticed if you crash doors enough, they fall off.
PLEASE READ ALL REPLIED BEFORE REPLYING TY
Re: Car doors, windows, tires -
PrawkC - 11.09.2011
https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
Re: Car doors, windows, tires -
Dr - 11.09.2011
Thank you.
Re: Car doors, windows, tires -
Dr - 11.09.2011
Okay but how can I remove the doors, bumper, hood, and so on? Like make them fall off, all it says in the wiki is for the doors...
Re: Car doors, windows, tires -
Kingunit - 11.09.2011
Example:
pawn Код:
new panels, doors, lights, tires;
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, 15); // 15 will pop the tires
// Credits are going to SA-MP wiki.
Re: Car doors, windows, tires -
Dr - 11.09.2011
Yes that is for the tires, but how can I remove the doors, or break the windows so on? Or damage the doors?
Re: Car doors, windows, tires -
=WoR=Varth - 11.09.2011
https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus
EDIT: link given by PrawkC already.
Re: Car doors, windows, tires -
Dr - 11.09.2011
I know but what value do I set to the doors to get them to get damaged or break off

Please Read
Re: Car doors, windows, tires -
Dr - 11.09.2011
Bump comon please?
Re: Car doors, windows, tires -
Sasino97 - 11.09.2011
I suggest you to use Binary values:
UpdateVehicleDamageStatus(vehicleid, panels, 0b00100000, lights, tires);
https://sampwiki.blast.hk/wiki/DoorStates
https://sampwiki.blast.hk/wiki/TireStates