TOGGLE_SCENARIO_PED_COWER_IN_PLACE
If toggle is true, when the ped is using a scenario he will stop it and become scared If toggle is false, the ped will not be scared anymore and continue his scenario Old name: _SET_PED_SCARED_WHEN_USING_SCENARIO
Hash
0x9A77DFD295E29B09Runtime name
ToggleScenarioPedCowerInPlaceNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9A77DFD295E29B09Signature
void TOGGLE_SCENARIO_PED_COWER_IN_PLACE(Ped ped, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
toggle | BOOL | — |
Returns void
Description
If toggle is true, when the ped is using a scenario he will stop it and become scared
If toggle is false, the ped will not be scared anymore and continue his scenario
Old name: _SET_PED_SCARED_WHEN_USING_SCENARIO
Usage
ToggleScenarioPedCowerInPlace(ped, toggle)
-- always works, by hash
Citizen.InvokeNative(0x9A77DFD295E29B09, ped, toggle)JavaScript and C#
ToggleScenarioPedCowerInPlace(ped, toggle);
// by hash
Citizen.invokeNative('0x9A77DFD295E29B09', ped, toggle);Function.Call((Hash)0x9A77DFD295E29B09, ped, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.