Changing Prop Texture

I’m developing a script to where I need to spawn the parachute model. How can I change the texture to a different one from the default? I spawn the model but it spawns as a rainbow variant.

RegisterCommand("testdrop", function()
    local ped = GetPlayerPed(-1)
    local veh = GetVehiclePedIsIn(ped, false)

    RequestModel(230075693)
    Citizen.CreateThread(function()
        while not HasModelLoaded(230075693) do
            Citizen.Wait(0)
            print("Loading hashes")
        end
    end)
    print("Hashes Loaded")

    parachute = CreateObject(230075693, GetEntityCoords(ped), true, false, false)
    SetObjectTextureVariation(parachute, 8)
    print(GetObjectTextureVariation(object))
end)

You’re actually doing it right.

I’ve had a look though (probably) all parachute ydr’s in the game and none of them seem to have embedded or linked texture variations, meaning for peds it might be a clothing item which contains the different colors. I did manage to find a black chute prop with a SecuroServ logo on the top of it, if that helps at all: -117530721

One note though, because you’re creating a new thread via Citizen.CreateThread, it won’t properly wait until the prop is loaded. Do this instead:

local hash = 230075693
RequestModel(hash)
while not HasModelLoaded(hash) do
    RequestModel(hash)
    Wait(0)
end
local parachute = CreateObject(hash, GetEntityCoords(PlayerPedId()), true, true, false)

Okay thank you. Once I get home I will test it and check out the other hash. Thanks for the help