SET_PED_RANDOM_COMPONENT_VARIATION
``` p1 is always 0 in R* scripts; and a quick disassembly seems to indicate that p1 is unused. ``` **This is the server-side RPC native equivalent of the client native [SET_PED_RANDOM_COMPONENT_VARIATION](?\_0xC8A9481A01E63C28).**
CFX
Signature
lua
SetPedRandomComponentVariation(PlayerPedId(), 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| int | — |
Usage
lua
SetPedRandomComponentVariation(PlayerPedId(), 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
