Hello guys, so basically i was thinking how could i make like when someone of players have dirty money then they have bag on the back and when they dont have any dirty money, bag disappears… If someone can give me some directions it would be great, i am using essential and esx . Thanks !!
What you are looking for is to ATTACH_ENTITY_TO_ENTITY
where the first entity is the bag and the second entity the PLAYER_PED. You will probably have to mess around with the rotations to make it look right.
As for logic when to attach it you would have to do that when the dirty money is at a certain value. To delete the bag you can DELETE_ENTITY
.
More info on the native: https://runtime.fivem.net/doc/reference.html#_0x6B9BBD38AB0796DF
For bags see: http://objects.codeshock.hu/gallery.php?search=bag&page=1&perpage=12
Good luck!
Thank you man, thats all what i needed, thank you alot sir !!
1 Like
Second link isn’t working
Thank you for sharing, though!
Updated props list:
You ever get this workin