void START_PLAYER_TELEPORT(Player player, float x, float y, float z, float heading, BOOL teleportWithVehicle, BOOL findCollisionLand, BOOL p7);
Teleports the player to the given coordinates.
If findCollisionLand is true it will try to find the Z value for you, this however has a timeout of 100 frames.
When trying to find the Z value the native will take longer the higher the difference from the given Z to the ground, this combined with the timeout can cause the teleport to just teleport to the given Z value, so try to estimate the z value, so don't just pass in 1000.0.
Also if you're in a vehicle and teleportWithVehicle is true it will not find the Z value for you.