Jump to content

Is it possible? [Skin displaying]


aintaro

Recommended Posts

Posted

Hello guys,

I was wondering if its possible to display your character skin on a interface and update it while they select an other skin.

Thanks in advance,

greetz, Aintaro

Posted

You have to get all skin's picture, put it on the folder and named them with skin id, and then

addEventHandler ( "onClientRender", root, 
    function ( ) 
        dxDrawImage ( posX, posY, width, height, "images/" .. getElementModel ( localPlayer ) .. ".png" ) 
    end 
) 

Posted

Okay thanks, I was thinking about doing that, to bad mta does not have a function to display a character model on an interface.

Thanks for the information.

Posted

I guess you can create a ped on some random location below ground, set it's skin and then change camera matrix to that position.

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...