pualtabita Posted April 24, 2021 Posted April 24, 2021 Am 18.6.2020 um 10:46 schrieb aLLeN92: The code was attached are inside a function, so this function is called on the command event, try to create the object in a function and calling inside your command event, let me know! Hello is there a list of attatchments for Ragemp?
aLLeN92 Posted April 24, 2021 Author Posted April 24, 2021 1 hour ago, pualtabita said: Hello is there a list of attatchments for Ragemp? What do you mean? which objects you can attach? https://cdn.rage.mp/public/odb/index.html
neuk12 Posted August 10, 2022 Posted August 10, 2022 (edited) primero es crear el objeto y despues tienen que hacer un tiempo de espera antes de adjuntar el objeto de lo contrario quedara flotando ejemplo: var object = mp.objects.new(mp.game.joaat(info.model), player.position, { dimension: player.dimension }); setTimeout(function(){ object.attachTo(player.handle, player.getBoneIndex(info.attachInfo.bone), pos[0], pos[1], pos[2], rot[0], rot[1], rot[2], false, false, false, false, 2, true) },150); Edited August 11, 2022 by neuk12
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