gta.findGroundZForCoordinate: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 22:04, 6 October 2019

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

float gta.findGroundZForCoord(float x, float y)

The gta.findGroundZForCoord 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.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png addToWorld
icon-iii.png icon-vc.png icon-sa.png gta.findGroundZCoordinate
icon-iii.png icon-vc.png icon-sa.png gta.findRoofZCoordinate
icon-iii.png icon-vc.png icon-sa.png gta.gravity
icon-iii.png icon-vc.png gta.moonSize
icon-iii.png icon-vc.png icon-sa.png icon-iv.png removeFromWorld