RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_PLAYER_AIM_WEAPON

_SET_PLAYER_AIM_WEAPON

Sets the weapon that the specified player will aim with. The weapon must already be assigned to the PED. This also determines the weapon order, specifying which weapon the player will automatically switch to when the current weapon runs out of ammo.

PLAYERBuild 1207

Signature

lua
SetPlayerAimWeapon(PlayerId(), GetHashKey("..."), 0)
-- returns void

Parameters

NameTypeDescription
Player—
Hash—
int—

Usage

lua
SetPlayerAimWeapon(PlayerId(), GetHashKey("..."), 0)

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