canCreateRandomPed
CAN_CREATE_RANDOM_PED0x3E8349C08E4B82E4The GTA V native CAN_CREATE_RANDOM_PED of the PED namespace, as LS:MP client scripts call it: the global function canCreateRandomPed, in JavaScript and in Lua.
canCreateRandomPed(p0: boolean): booleancanCreateRandomPed(p0: boolean): booleanUsage
JavaScript
const result = canCreateRandomPed(p0);Lua
local result = canCreateRandomPed(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | BOOL | boolean | boolean |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Ped PED
- In the game
BOOL CAN_CREATE_RANDOM_PED(BOOL p0)- Hash
0x3E8349C08E4B82E4