_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 voidParameters
| Name | Type | Description |
|---|---|---|
| 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
