PedClient

canCreateRandomCops

CAN_CREATE_RANDOM_COPS0x5EE2CAFF7F17770D

The GTA V native CAN_CREATE_RANDOM_COPS of the PED namespace, as LS:MP client scripts call it: the global function canCreateRandomCops, in JavaScript and in Lua.

SignatureJavaScript
canCreateRandomCops(): boolean
SignatureLua
canCreateRandomCops(): boolean

Usage

JavaScript
const result = canCreateRandomCops();
Lua
local result = canCreateRandomCops()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Ped PED
In the game
BOOL CAN_CREATE_RANDOM_COPS()
Hash
0x5EE2CAFF7F17770D

Open in the interactive natives reference