This sets the players position then adjusts the players z-coordinate to the nearest solid ground under the position.
|playerid||The ID of the player to set the position of.|
|Float:x||The X coordinate to position the player at.|
|Float:y||The X coordinate to position the player at.|
|Float:z||The Z coordinate to position the player at.|
1: The function executed successfully.
0: The function failed to execute. This means the player specified does not exist.
This function does not work if the new coordinates are far away from where the player currently is. The Z height will be 0, which will likely put them underground. It is highly recommended that the MapAndreas or ColAndreas plugin be used instead.