crying_bae Posted September 30, 2019 Share 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 Link to comment Share on other sites More sharing options...
crying_bae Posted September 30, 2019 Author Share Posted September 30, 2019 I changed a little bit position of rope and actually it is vissible at some point. Link to comment Share on other sites More sharing options...
Partizan Posted April 22, 2020 Share Posted April 22, 2020 did you solve this problem? Link to comment Share on other sites More sharing options...
growling Posted August 4, 2020 Share 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 Link to comment Share on other sites More sharing options...
Soma Posted February 27, 2022 Share Posted February 27, 2022 mp.game.invoke('0x9B9039DBF2D258C1'); Link to comment Share on other sites More sharing options...
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