gta.findGroundZForCoordinate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Vortrex moved page gta.findGroundZForCoord to gta.findGroundZForCoordinate: Function rename) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|endpoint = client | |endpoint = client | ||
|type = function | |type = function | ||
|name = gta. | |name = gta.findGroundZCoordinate | ||
|parameters = float x, float y | |parameters = float x, float y | ||
|parameter1 = float x The X coordinate to locate the ground Z coordinate for. | |parameter1 = float x The X coordinate to locate the ground Z coordinate for. |
Latest revision as of 08:11, 17 May 2022
Function
Client Only
Online and Offline
Available since Client 1.0.0
float gta.findGroundZCoordinate(float x, float y)
The gta.findGroundZCoordinate function is used to fetch the ground's Z position coordinate for a 2D position.
Parameters
1) | float | x | The X coordinate to locate the ground Z coordinate for. |
2) | float | y | The Y coordinate to locate the ground Z coordinate for. |
Return
float | The ground's Z position coordinate for the 2D position. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
- This function was previously named
game.findGroundZForCoord
in client version 1.0.71.