crying_bae Posted September 30, 2019 Posted September 30, 2019 Does anybody managed to attach rope to entities? I managed only to create rope but it is invisible - only shadow is visible. mp.events.add('attachRopeToVehicleAndPlayer', (vehicle) => { mp.gui.chat.push(new Date() + ''); let player = mp.players.local; let rope = mp.game.rope.addRope(player.position.x, player.position.y, player.position.z, 0, 0, 0, 20.0, 4, 20.0, 10.0, 0, false, false, false, 5.0, false, 0); mp.game.rope.attachEntitiesToRope(rope, vehicle.handle, player.handle, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 10.0, false, false, 0, 0); }); https://i.gyazo.com/7f66f6f625e4d69108b4b7dc1dafd90c.gif
crying_bae Posted September 30, 2019 Author Posted September 30, 2019 I changed a little bit position of rope and actually it is vissible at some point.
growling Posted August 4, 2020 Posted August 4, 2020 (edited) You need to load rope textures first using https://cdn.rage.mp/public/natives/#native_0x9B9039DBF2D258C1 native (ROPE_LOAD_TEXUTRES) to make it visible Edited August 4, 2020 by growling 1
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