How can I achieve this animation from gta online?
I’ve seen that it is doable. How do I select the weapon from the wall then make it float? Or how do I set it’s opacity?
Thank you!
How can I achieve this animation from gta online?
I’ve seen that it is doable. How do I select the weapon from the wall then make it float? Or how do I set it’s opacity?
Thank you!
Not sure if you managed to do it, but I would:
Spawn the guns with: CreateObjectNoOffset - FiveM Natives @ Cfx.re Docs
Set their opacity with SetEntityAlpha - FiveM Natives @ Cfx.re Docs
Probably move them with SlideObject - FiveM Natives @ Cfx.re Docs
You keep track of objects, the same way you keep track of menu indexes. Then you move the object and the camera based on that index.
If the prop has gravity by default, SetEntityHasGravity - FiveM Natives @ Cfx.re Docs should fix it.