Search the Community
Showing results for tags 'damage'.
-
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
- 8 replies
-
- javascript
- vehicles
-
(and 1 more)
Tagged with:
-
Hello everyone! noticed an interesting bug (mb is not a bug, but a feature). Two players. The first player has ID 0, the second player has ID 1. In the main world (with dimension = 0), both players take damage when hitting with a fist. If these players are moved to dimension = 5, then the player with ID 0 does not take damage from a punch. Moreover, if you shoot at him with a weapon, then everything is ok. P.s. incomingDamage is an empty event (there is nothing in it and nothing is canceled in it). How can this thing be cured? Are there any workarounds? Server & client side in JS
