setCreateRandomCopsNotOnScenarios
SET_CREATE_RANDOM_COPS_NOT_ON_SCENARIOS0x8A4986851C4EF6E7The GTA V native SET_CREATE_RANDOM_COPS_NOT_ON_SCENARIOS of the PED namespace, as LS:MP client scripts call it: the global function setCreateRandomCopsNotOnScenarios, in JavaScript and in Lua.
setCreateRandomCopsNotOnScenarios(toggle: boolean): voidsetCreateRandomCopsNotOnScenarios(toggle: boolean)Usage
JavaScript
setCreateRandomCopsNotOnScenarios(toggle);Lua
setCreateRandomCopsNotOnScenarios(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_NOT_ON_SCENARIOS(BOOL toggle)- Hash
0x8A4986851C4EF6E7