SetPlayerPosFindZ

From SA-MP Wiki

Jump to: navigation, search

SetPlayerPosFindZ


This sets the players position then adjusts the players z-coordinate to the nearest solid ground under the position.


Parameters:
(playerid, Float:x, Float:y, Float:z)
playeridThe player who you'd like to set position for.
Float:xThe x-coordinate for the new player position.
Float:yThe y-coordinate for the new player position.
Float:zThe z-coordinate for the initial new player position.


This function does not return a specific value.


SetPlayerPosFindZ(playerid, 1567.0, 1252.0, 80.0);

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools