RedM Natives

GET_PED_ARMOUR

Hash0x2CE311A7
Runtime nameGetPedArmour
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

int GET_PED_ARMOUR(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns int

Usage

Lua
local retval = GetPedArmour(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x2ce311a7, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedArmour(ped);

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

See also

Sources

Cfx.re native reference

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