Where do i disable the weapon wheel?

i am not sure where i need to be to disable the weapon wheel, someone please assist…

Hey there, hopefully this post should help you.

Let me know if you need any further assistance!

2 Likes

All of the solutions provided in the post @posaroleplay linked to in his comment need to be looped. What you could do instead is this:

SetPedConfigFlag(PlayerPedId(), 48, true)

This will block the player ped from switching their weapon. This also makes the weapon wheel non-accessible.

You can also re-enable the weapon wheel by setting the same ped config flag to false like so:

SetPedConfigFlag(PlayerPedId(), 48, false)

Compared to the solutions that require loops, the only downside of doing it this way is that the ped config flag has to be re-applied if the player ped changes.

So depending on what you are going to use it for this could be a better solution.