setCutscenePedComponentVariationFromPed
SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED0x2A56C06EBEF2B0D9The GTA V native SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED of the CUTSCENE namespace, as LS:MP client scripts call it: the global function setCutscenePedComponentVariationFromPed, in JavaScript and in Lua.
setCutscenePedComponentVariationFromPed(
cutsceneEntName: string,
ped: Ped,
modelHash: Hash
): voidsetCutscenePedComponentVariationFromPed(
cutsceneEntName: string,
ped: Ped,
modelHash: Hash
)Usage
JavaScript
setCutscenePedComponentVariationFromPed(cutsceneEntName, ped, modelHash);Lua
setCutscenePedComponentVariationFromPed(cutsceneEntName, ped, modelHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cutsceneEntName | string | string | string |
ped | Ped | number | integer |
modelHash | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Cutscenes CUTSCENE
- In the game
void SET_CUTSCENE_PED_COMPONENT_VARIATION_FROM_PED(const char* cutsceneEntName, Ped ped, Hash modelHash)- Hash
0x2A56C06EBEF2B0D9