GET_PED_ARMOUR
Signature
int GET_PED_ARMOUR(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns int
Usage
local retval = GetPedArmour(ped)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2ce311a7, ped, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPedArmour(ped);
// by hash
const retval = Citizen.invokeNative('0x2ce311a7', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x2ce311a7, ped);See also
SET_PED_ARMOURSets the armor of the specified ped.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.