SET_CURRENT_PED_WEAPON_BY_GUID
Equips a weapon from a weaponItem, similar to GIVE_WEAPON_TO_PED
WEAPONBuild 1207
Signature
lua
SetCurrentPedWeaponByGuid(PlayerPedId(), weaponUid, true, true, true, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| Any* | — | |
| BOOL | — | |
| BOOL | — | |
| BOOL | — | |
| BOOL | — |
Usage
lua
SetCurrentPedWeaponByGuid(PlayerPedId(), weaponUid, true, true, true, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
