[Help] Anyway to set AccuracySpread in scripts?

Hi Guys,

I’m working on a mod to nerf the weapons in GTA V so they’ll be more realistic. some ideas are feasible to implement already but here’s one I can’t solve.

In the native functions I failed to find one that can be used to adjust bullets spread programmatically. Can someone shed some light? appreciate it.

1 Like

What if you were to check what weapon they’re using and based off of that, you’d use the SetPedAccuracy function?

thanks for the reply murfasa. according to the manual it takes two parameters, one ped and one int instead of weapon hash. I’ve tried set the int to 0 but still they are as accurate as laser guns. maybe this function is for NPCs.

Maybe it is… Yeah, I really don’t know man. I’m sorry.

that’s alright, thanks anyway :smiley:

Hi, I’m trying to do the same thing. I have tried multiple things but I was unable to achieve the results I wished for.
I am trying to do it like in CS:GO and Valorant that when you move while shooting, the accuracy is reduced, so to shoot accurately you have to stop moving. The closest thing I was able to do is to create a new fake component in weaponcomponents.meta that has an AccuracyModifier, and it works, however:

  • you have to attach it to a valid bone, so you have to sacrifice a component slot (I sacrificed the grip)
  • when you attach/detach it, it plays a small animation that I was unable to remove

It would be great if there was a native function to set the accuracy modifier directly. If anyone found a better solution please let me know.
Thank you in advance.