SET_CURRENT_PED_WEAPON
SET_CURRENT_PED_WEAPON **This is the server-side RPC native equivalent of the client native [SET_CURRENT_PED_WEAPON](?\_0xADF692B254977C0C).**
CFX
Signature
lua
SetCurrentPedWeapon(PlayerPedId(), GetHashKey("..."), true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| Hash | — | |
| BOOL | — |
Usage
lua
SetCurrentPedWeapon(PlayerPedId(), GetHashKey("..."), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
