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.
Signature
void SET_PED_DEFAULT_COMPONENT_VARIATION(Ped ped);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
Returns void
Description
Sets Ped Default ClothesThis is the server-side RPC native equivalent of the client native SET_PED_DEFAULT_COMPONENT_VARIATION.
Usage
SetPedDefaultComponentVariation(ped)
-- always works, by hash
Citizen.InvokeNative(0xc866a984, ped)JavaScript and C#
SetPedDefaultComponentVariation(ped);
// by hash
Citizen.invokeNative('0xc866a984', ped);Function.Call((Hash)0xc866a984, ped);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.