RedM Natives

SET_CREATE_RANDOM_COPS

Hash0x102E68B2024D536D
Runtime nameSetCreateRandomCops
NamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x102E68B2024D536D

Signature

void SET_CREATE_RANDOM_COPS(BOOL toggle);

Parameters

NameTypeDescription
toggleBOOL—

Returns void

Usage

Lua
SetCreateRandomCops(toggle)

-- always works, by hash
Citizen.InvokeNative(0x102E68B2024D536D, toggle)
JavaScript and C#
JavaScript
SetCreateRandomCops(toggle);

// by hash
Citizen.invokeNative('0x102E68B2024D536D', toggle);
C#
Function.Call((Hash)0x102E68B2024D536D, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.