heiligerbimbam2103
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Posts posted by heiligerbimbam2103
-
-
Am 22.8.2021 um 23:20 schrieb Spechen:
Hello, this is not what asked by heiligerbimbam2103, all of this doesn't affect the visual bodywork of any vehicle
The only fact that change the engine health and petrol tank health is if the engine will smoke or catch fire, or the petrol tank will leak, the bodywork is totally logical
I'm following this topic because I'm looking for a way to get the visual damage of the vehicle's bodywork (we can set damage with this setter https://wiki.rage.mp/index.php?title=Vehicle::setDamage )
Thank you for your support. I'll hope we get some answers because in Discord or other ways there was no answer.
Greetings
-
Hi and thank you for your help
I will use this functions. Are there any functions to set cosmetic damage? As example. If i drive in front of a wall the front of a car gets damage. Can i reset this damage? I found a function to set damage in a sphere to the car. But... Can i get the damage that was applied?
I've found already that i can check if the door is damaged. Any suggestions to detect damage of the body?
Greetings and thank you very muchAnd just to say
I already use the wiki very intensive hahaha and some natives
-
Hey guys.
I'm searching now for several days to solve this problem....
Currently i'm working on my own roleplay server with own resources etc.. Now iam at the point to code my vehicle manager. The point is that players should not save their car/plane/boat in a garage or whatever and spawn them completely repaired.
I worked previously on FiveM and there are some functions to get vehicle damage.
What are the correct functions/events or whatever to GET vehicle damage and the correct functions to SET vehicle damage.
And if it is possible.. Can i apply cosmetic damage to a vehicle?
If you have some examples please provide them in JS. On C# im not very good

Your help would be really great.
Greetings
Bimbam2103

Get Vehicle Damage and reproduce damage on spawn of vehicle
in Scripting
Posted
This seams to be the correct natives for the problem i try to solve. Thank you very much for your help.
Greetings