DESCRIPTION
Finds the z coordinate for the ground at the specified position. Note that this only works within a relatively short distance of the local player.
This function returns false if the ground coordinates could not be found.
CODE EXAMPLE
// C# float groundZ; var didFindGround = GET_GROUND_Z_FOR_3D_COORD(1232.205, -1251.088, 73.67763, &groundZ, false); if (didFindGround) { // ...
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.