RedM Natives

SET_PED_RANDOM_PROPS

SET_PED_RANDOM_PROPS This is the server-side RPC native equivalent of the client native SET_PED_RANDOM_PROPS.

Hash0xE3318E0E
Runtime nameSetPedRandomProps
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void SET_PED_RANDOM_PROPS(Ped ped);

Parameters

NameTypeDescription
pedPed

The ped handle.

Returns void

Description

Cfx.re native reference

SET_PED_RANDOM_PROPS

This is the server-side RPC native equivalent of the client native SET_PED_RANDOM_PROPS.

Usage

Lua
SetPedRandomProps(ped)

-- always works, by hash
Citizen.InvokeNative(0xe3318e0e, ped)
JavaScript and C#
JavaScript
SetPedRandomProps(ped);

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

Sources

Cfx.re native reference

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