getMenuPedMaskedIntStat
GET_MENU_PED_MASKED_INT_STAT0x90A6526CF0381030The GTA V native GET_MENU_PED_MASKED_INT_STAT of the HUD namespace, as LS:MP client scripts call it: the global function getMenuPedMaskedIntStat, in JavaScript and in Lua.
getMenuPedMaskedIntStat(statHash: Hash, mask: number, p3: boolean): [
ok: boolean,
outValue: number
]getMenuPedMaskedIntStat(
statHash: Hash,
mask: integer,
p3: boolean
): boolean, integerUsage
JavaScript
const [ok, outValue] = getMenuPedMaskedIntStat(statHash, mask, p3);Lua
local ok, outValue = getMenuPedMaskedIntStat(statHash, mask, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
statHash | Hash | number | integer |
mask | int | number | integer |
p3 | BOOL | boolean | boolean |
Returns
2 values, in this order: an array in JavaScript, multiple return values in Lua.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | ok | BOOL | boolean | boolean | The native’s own return value. |
| 2 | outValue | int | number | integer | output |
Reference
- Namespace
- HUD HUD
- In the game
BOOL GET_MENU_PED_MASKED_INT_STAT(Hash statHash, int* outValue, int mask, BOOL p3)- Hash
0x90A6526CF0381030