_GET_LOCKON_RANGE_CURRENT_WEAPON
Returns the effective lock-on or targeting range for the ped’s current weapon. This value reflects the weapon’s maximum aim assist or targeting distance, used for systems like auto-aim and lock-on overrides.
WEAPONBuild 1207
Signature
lua
GetLockonRangeCurrentWeapon(PlayerPedId())
-- returns floatParameters
| Name | Type | Description |
|---|---|---|
| Ped | — |
Usage
lua
GetLockonRangeCurrentWeapon(PlayerPedId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
