SetCutscenePedComponentVariation
DocsSetCutscenePedComponentVariation(cutsceneEntName, componentId, drawableId, textureId, modelHash)Description
Parameters
| Name | Type | Description |
|---|---|---|
cutsceneEntName | char* | — |
componentId | int | — |
drawableId | int | — |
textureId | int | — |
modelHash | Hash | — |
Quick Snippet: Load Model HashmodelHash
modelHashModels must be loaded before use. This snippet handles requesting and releasing properly.
-- Properly load a model before spawning/using it
local modelName = "prop_barrel_01a" -- change to your model
local modelHash = GetHashKey(modelName)
RequestModel(modelHash)
while not HasModelLoaded(modelHash) do
Wait(0)
end
print("Model loaded: " .. modelName .. " (" .. modelHash .. ")")
-- Release when done:
-- SetModelAsNoLongerNeeded(modelHash)Ped Models

mp_m_freemode_01
player_zero
ig_agatha
s_m_y_cop_01
s_m_m_gaffer_01
g_m_m_armboss_01
a_c_boar
a_m_m_bevhills_01Returns
voidThis native does not return a value.