Open Rylxnd opened 10 months ago
You got me f'd up. I looked for that but couldn't find it lol. I just assumed it got removed
That won't work as that function takes a different Vector3 object to the one used by the Lua runtime. It was also implemented and afterwards removed before, though since the function does quite a lot I wouldn't be opposed to exposing it to the runtime again.
I'll have to wrap it then, like TeleportPlayer
It would make it a lot easier for LUA. Since you don't have to type out all natives and can just use the built in function.
Any progress with this?
Why not use https://github.com/gta-chaos-mod/ChaosModV/blob/406031f148b60e1862d2b64b6d1cdff90fb7f0c6/ChaosMod/Util/Peds.h#L7? 🤔