Help creating a rope to attach the player to a nearby ped
-
Hi
I'm trying to create simple test using ropes that are attached to the player and a few peds nearby and would make some of them ragdoll if pulled too fast (kinda like in the JC3 mod) but i just can't make the ropes work properly. THe player always glitch and fly somewhere far in the map. I couldn't find anything on the NativeDB on how to create or use ropes properly.Here's my code until this point (i'm using C++): https://drive.google.com/file/d/1IPYXJDNGlXiMnnt7KCK-gOtkBXqtI72Y/view?usp=sharing
Any help is very welcome.