toggleScenarioPedCowerInPlace
TOGGLE_SCENARIO_PED_COWER_IN_PLACE0x9A77DFD295E29B09The GTA V native TOGGLE_SCENARIO_PED_COWER_IN_PLACE of the PED namespace, as LS:MP client scripts call it: the global function toggleScenarioPedCowerInPlace, in JavaScript and in Lua.
toggleScenarioPedCowerInPlace(ped: Ped, toggle: boolean): voidtoggleScenarioPedCowerInPlace(ped: Ped, toggle: boolean)Usage
JavaScript
toggleScenarioPedCowerInPlace(ped, toggle);Lua
toggleScenarioPedCowerInPlace(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 TOGGLE_SCENARIO_PED_COWER_IN_PLACE(Ped ped, BOOL toggle)- Hash
0x9A77DFD295E29B09- Formerly
_SET_PED_SCARED_WHEN_USING_SCENARIO