Repairing Vehicle parts seperatly
#1

What do i need to do if i want to fix for example just the doors of the vehicle, but not the whole vehicle?
Reply
#2

i think it is not possible if it is then i dont knw...
Reply
#3

I think i heard somewhere it is. ;/
Reply
#4

UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, tires);

EDIT: OMG ****** posted 55 ms after me XD
Reply
#5

Does anybody know a tutorial about UpdateVehicleDamageStatus ?

If you know one, please post the link.
Reply
#6

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
Does anybody know a tutorial about UpdateVehicleDamageStatus ?

If you know one, please post the link.
It's not a tutorial.

https://sampwiki.blast.hk/wiki/UpdateVehicleDamageStatus

You set the doors, lights, panels etc... to the amount of the damage.
It's NOT a Floating point Value, it's the set of bits containing the damage.

0 = Fixed 100%.

For example setting 15 on the tires will pop them up.
Reply
#7

I know this article, but it's vey difficult to understand.

I am wondering if anyone knows a tutorial about this.
Reply
#8

Quote:
Originally Posted by Shadoww5
Посмотреть сообщение
I know this article, but it's vey difficult to understand.

I am wondering if anyone knows a tutorial about this.
I ******d for it, but with no success


I think you put the amount of damage you want to set to the part of a vehicle.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)