setPedHelmetVisorPropIndices
SET_PED_HELMET_VISOR_PROP_INDICES0x3F7325574E41B44DThe GTA V native SET_PED_HELMET_VISOR_PROP_INDICES of the PED namespace, as LS:MP client scripts call it: the global function setPedHelmetVisorPropIndices, in JavaScript and in Lua.
setPedHelmetVisorPropIndices(
ped: Ped,
p1: boolean,
p2: number,
p3: number
): voidsetPedHelmetVisorPropIndices(
ped: Ped,
p1: boolean,
p2: integer,
p3: integer
)Usage
JavaScript
setPedHelmetVisorPropIndices(ped, p1, p2, p3);Lua
setPedHelmetVisorPropIndices(ped, p1, p2, p3)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
p2 | int | number | integer |
p3 | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_HELMET_VISOR_PROP_INDICES(Ped ped, BOOL p1, int p2, int p3)- Hash
0x3F7325574E41B44D- Introduced
- Game build 791 legacy numbering
- Formerly
_SET_PED_HELMET_UNK