otavio53 Posted February 19, 2019 Share Posted February 19, 2019 Hello, I would like someone to help me with a script, when the player gives the command he get a CJ skin, I wanted him to pick up the previous skin he was on, sorry for my English I'm using a translator function tirarFarda(player) if isElementWithinMarker(player, pegar) then setPlayerSkin(player,0) outputChatBox("#ffffffVocê tirou sua Farda.", player, 255,255,255, true) end end addCommandHandler("tfarda", tirarFarda) Link to comment
Moderators IIYAMA Posted February 20, 2019 Moderators Share Posted February 20, 2019 local model = getElementModel(element) https://wiki.multitheftauto.com/wiki/GetElementModel setPlayerSkin is deprecated. It might be removed in next MTA versions. Use setElementModel instead. https://wiki.multitheftauto.com/wiki/SetElementModel 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