Jump to content

HELP ME About SET SKIN


Recommended Posts

Posted

Hii there ,

So i just want to set player skin when the player use an item...

For example..

If the player use item id 40 then , the skin change to skin id 191

Thank you , Your help will be appreciate :) :)

Posted
This function is deprecated. This means that its use is discouraged and that it might not exist in future versions.

Please use setElementModel instead.

This is why you should use setElementModel, because setPedSkin is going to be removed in a future version of MTA.

Posted

Look at this example you will get an idea.

local ped = createPed ( 120, 5540.6654, 1020.55122, 1240.545 ) 
addCommandHandler ( "changepedskin", 
    function ( ) 
        setElementModel ( ped, 100 ) 
        end) 

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