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