PedClient

setPedRandomProps

SET_PED_RANDOM_PROPS0xC44AA05345C992C6

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

SignatureJavaScript
setPedRandomProps(ped: Ped): void
SignatureLua
setPedRandomProps(ped: Ped)

Usage

JavaScript
setPedRandomProps(ped);
Lua
setPedRandomProps(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

List of component/props ID
gtaxscripting.blogspot.com/2016/04/gta-v-peds-component-and-props.html

Reference

Namespace
Ped PED
In the game
void SET_PED_RANDOM_PROPS(Ped ped)
Hash
0xC44AA05345C992C6

Open in the interactive natives reference