setCreateRandomCopsOnScenarios
SET_CREATE_RANDOM_COPS_ON_SCENARIOS0x444CB7D7DBE6973DThe GTA V native SET_CREATE_RANDOM_COPS_ON_SCENARIOS of the PED namespace, as LS:MP client scripts call it: the global function setCreateRandomCopsOnScenarios, in JavaScript and in Lua.
setCreateRandomCopsOnScenarios(toggle: boolean): voidsetCreateRandomCopsOnScenarios(toggle: boolean)Usage
JavaScript
setCreateRandomCopsOnScenarios(toggle);Lua
setCreateRandomCopsOnScenarios(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Ped PED
- In the game
void SET_CREATE_RANDOM_COPS_ON_SCENARIOS(BOOL toggle)- Hash
0x444CB7D7DBE6973D