setPedCanPlayInCarIdles
SET_PED_CAN_PLAY_IN_CAR_IDLES0x820E9892A77E97CDThe GTA V native SET_PED_CAN_PLAY_IN_CAR_IDLES of the PED namespace, as LS:MP client scripts call it: the global function setPedCanPlayInCarIdles, in JavaScript and in Lua.
setPedCanPlayInCarIdles(ped: Ped, toggle: boolean): voidsetPedCanPlayInCarIdles(ped: Ped, toggle: boolean)Usage
JavaScript
setPedCanPlayInCarIdles(ped, toggle);Lua
setPedCanPlayInCarIdles(ped, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_PED_CAN_PLAY_IN_CAR_IDLES(Ped ped, BOOL toggle)- Hash
0x820E9892A77E97CD- Introduced
- Game build 877 legacy numbering
- Formerly
_SET_PED_CAN_PLAY_IN_CAR_IDLES