RedM Natives

SET_PED_DEFAULT_COMPONENT_VARIATION

Sets Ped Default Clothes This is the server-side RPC native equivalent of the client native SET_PED_DEFAULT_COMPONENT_VARIATION.

Hash0xC866A984
Runtime nameSetPedDefaultComponentVariation
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void SET_PED_DEFAULT_COMPONENT_VARIATION(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns void

Description

Cfx.re native reference

Sets Ped Default Clothes

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

Usage

Lua
SetPedDefaultComponentVariation(ped)

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

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

Sources

Cfx.re native reference

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