Alazam Posted February 1, 2014 Share Posted February 1, 2014 Hello i start scripting and i have try to make a command /skin id function setPedSkin(thePed, command, skinID) setPedSkin ( source, skinID ) end addCommandHandler("skin", setPedSkin) Why its dont work ? Link to comment
Anubhav Posted February 1, 2014 Share Posted February 1, 2014 function setSkin() setElementModel( source, skinID ) end addCommandHandler("skin",setPedSkin) Use setElementModel . Link to comment
TAPL Posted February 1, 2014 Share Posted February 1, 2014 Server Side: addCommandHandler("skin", function(thePed, cmd, skinID) setElementModel(thePed, tonumber(skinID)) end) Link to comment
Alazam Posted February 1, 2014 Author Share Posted February 1, 2014 Thank but Server Side: addCommandHandler("skin", function(thePed, cmd, skinID) setElementModel(thePed, tonumber(skinID)) end) dont work Link to comment
Alazam Posted February 1, 2014 Author Share Posted February 1, 2014 Thank sorry the first time i have add it dont work 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