GET_PED_BACKUP_WEAPON
Hash
0xC71FE230A513C30FRuntime name
GetPedBackupWeaponNamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207
Signature
Hash GET_PED_BACKUP_WEAPON(Ped ped, BOOL p1);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | BOOL | — |
Returns Hash
Usage
local retval = GetPedBackupWeapon(ped, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xC71FE230A513C30F, ped, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedBackupWeapon(ped, p1);
// by hash
const retval = Citizen.invokeNative('0xC71FE230A513C30F', ped, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xC71FE230A513C30F, ped, p1);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.