Skip to content

Instantly share code, notes, and snippets.

View TroublesNCuddles's full-sized avatar
🏠
Chilling it with a Red Bull, A Burger and my Keyboard

Liara Gonzalez TroublesNCuddles

🏠
Chilling it with a Red Bull, A Burger and my Keyboard
View GitHub Profile
function LoadModel (model)
if not IsModelInCdimage(model) then return end
RequestModel(model)
while not HasModelLoaded(model) do Citizen.Wait(0) end
return model
end

Scaleform: mp_car_stats_01

Scale

Citizen.CreateThread(function()
    function Initialize(scaleform)
        scaleform = RequestScaleformMovie(scaleform)
        while not HasScaleformMovieLoaded(scaleform) do
            Citizen.Wait(0)
        end
        PushScaleformMovieFunction(scaleform, "SET_VEHICLE_INFOR_AND_STATS")