14.11.2015, 10:02
Quote:
OT: Just use SetPlayerPosFindZ under the callback, instead of making it complex like your code.
|
Quote:
Originally Posted by wiki
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.
|
SetPlayerPosFindZ has a pro over MapAndreas:
Quote:
Originally Posted by wiki
This sets the players position then adjusts the players z-coordinate to the nearest solid ground under the position.
|