zDxvilZ Posted April 9, 2020 Posted April 9, 2020 Hey guys I have a question I would like to give my character this (https://wiki.rage.mp/index.php?title=File:Clothing_M_11_287.jpg) top, but there is always give me another top can someone help me?
zDxvilZ Posted April 10, 2020 Author Posted April 10, 2020 (edited) mp.events.addCommand('clothes', (player) => { player.setClothes(11,287,0,0); )}; Edited April 10, 2020 by zDxvilZ
zDxvilZ Posted April 10, 2020 Author Posted April 10, 2020 (edited) I get everytime the wrong top.. This is the top I get (https://prnt.sc/rwywak) and this ist the top I want (https://wiki.rage.mp/index.php?title=File:Clothing_M_11_287.jpg) Edited April 10, 2020 by zDxvilZ
Xabi Posted April 11, 2020 Posted April 11, 2020 Ok, it won't work if you're doing it on 0.3.7 version: https://wiki.rage.mp/index.php?title=Player::setClothes There you have a workaround for it to work.
Xabi Posted April 11, 2020 Posted April 11, 2020 12 minutes ago, zDxvilZ said: and what do I have to do to make it work? Read the link.
zDxvilZ Posted April 11, 2020 Author Posted April 11, 2020 I'm afraid I can't do it or I don't know how to do it. Just tried what is there but unfortunately without success
zDxvilZ Posted April 11, 2020 Author Posted April 11, 2020 (edited) what exactly do I have to do on the clientside? Do I have to do that? mp.events.add('cloth', (player) => { player.setComponentVariation(11, 287, 2, 0); }); and then retrieve the event on the server side? then I get an error message. otherwise I have no idea how to do it. can you do an Example for me please? Edited April 11, 2020 by zDxvilZ
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