RedM Natives

GET_ALLOW_DUAL_WIELD

Hash0x918990BD9CE08582
Runtime nameGetAllowDualWield
NamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL GET_ALLOW_DUAL_WIELD(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns BOOL

Usage

Lua
local retval = GetAllowDualWield(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x918990BD9CE08582, ped, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetAllowDualWield(ped);

// by hash
const retval = Citizen.invokeNative('0x918990BD9CE08582', ped, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x918990BD9CE08582, ped);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.