GET_PLAYER_MAX_ARMOUR
Signature
int GET_PLAYER_MAX_ARMOUR(char* playerSrc);Parameters
| Name | Type | Description |
|---|---|---|
playerSrc | char* | The player handle |
Returns int
Usage
local retval = GetPlayerMaxArmour(playerSrc)
-- always works, by hash
local retval = Citizen.InvokeNative(0x2a50657, playerSrc, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetPlayerMaxArmour(playerSrc);
// by hash
const retval = Citizen.invokeNative('0x2a50657', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x2a50657, playerSrc);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.