Jump to content

I need to put it so that cj's clothes (customizations) appear on the dashboard


Recommended Posts

function createModelPed()
    local skin = getElementModel(localPlayer)
    pX, pY, pZ = getCameraMatrix()
    peds = createPed(skin, pX, pY, pZ)
    ped = exports["object_preview"]:createObjectPreview(peds, 0, 0, 175, x*798, y*148, x*313, y*472, false, true, true)
end

function destroyPed()
    exports["object_preview"]:destroyObjectPreview(ped)
    destroyElement(peds)
    peds = nil
end

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...