Skip to content

Conversation

@bleenobtw
Copy link
Contributor

Goal of this PR

Introduces a way for client scripts to get & set the range of a weapon via it's hash.

How is this PR achieving the goal

By introducing GET_WEAPON_RANGE & SET_WEAPON_RANGE to allow client scripts to retrieve and set the range of a weapon.

This PR applies to the following area(s)

FiveM, Natives

Successfully tested on

Game builds: 3258, 2699, 3095, 3570, 3407
Platforms: Windows

Checklist

  • Code compiles and has been tested successfully.
  • Code explains itself well and/or is documented.
  • My commit message explains what the changes do and what they are for.
  • No extra compilation warnings are added by these changes.

Fixes issues

n/a

@github-actions github-actions bot added the invalid Requires changes before it's considered valid and can be (re)triaged label Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid Requires changes before it's considered valid and can be (re)triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant