setCreateRandomCops
SET_CREATE_RANDOM_COPS0x102E68B2024D536DThe GTA V native SET_CREATE_RANDOM_COPS of the PED namespace, as LS:MP client scripts call it: the global function setCreateRandomCops, in JavaScript and in Lua.
setCreateRandomCops(toggle: boolean): voidsetCreateRandomCops(toggle: boolean)Usage
JavaScript
setCreateRandomCops(toggle);Lua
setCreateRandomCops(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(BOOL toggle)- Hash
0x102E68B2024D536D