Eweest Posted July 19, 2015 Share Posted July 19, 2015 (edited) delete Edited July 19, 2015 by Guest Link to comment
Perfect Posted July 19, 2015 Share Posted July 19, 2015 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now