Jump to content

simple skin command dont work


Alazam

Recommended Posts

Posted

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 ?

Posted

Server Side:

addCommandHandler("skin", 
function(thePed, cmd, skinID) 
    setElementModel(thePed, tonumber(skinID)) 
end) 

Posted

Thank but

Server Side:
addCommandHandler("skin", 
function(thePed, cmd, skinID) 
    setElementModel(thePed, tonumber(skinID)) 
end) 

dont work

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