RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_LOCKON_RANGE_CURRENT_WEAPON

_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 float

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details