I’m working on making a parser that will read map files to load maps and whatnot for a destruction derby server, and while progress is coming along nicely - I’m having lots of issues with my client freezing when I try and use SetEntityCoords.
Back in the MTA days, DD maps would most frequently be held above water - so if you were pushed down into the water, you lost. It also kind of helped people with weak computers on more complex maps.
I’m assuming this is crashing because we’re not really meant to teleport that far out? This is what I use to teleport my player:
SetEntityCoords(GetPlayerPed(-1), 870, -7700, 12)
The thing is, sometimes it does work - it does teleport me. And sometimes it just makes the client freeze and stop responding.
Any suggestions?