Jump to content

delete


Eweest

Recommended Posts

setPlayerSkin takes two arguments, first is the player and second is the skin id.

And also to note, setPlayerSkin is an old function and may not be used in currently or in future versions of MTA and has been replace by setElementModel which takes same arguments as setPlayerSkin.

  
Skin = {} 
function spawnskin(mid) 
    if ( Skin[source] ) then 
    setElementModel(source,tonumber(mid)) 
    end 
end 
addEvent("spawnskin",true) 
addEventHandler("spawnakin",root,spawnskin) 
  

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