Gameplay::getGroundZAndNormalFor3DCoord: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

29 April 2024

  • curprev 10:1610:16, 29 April 2024Shr0x talk contribs 746 bytes +746 Created page with "{{ClientsideJsFunction}} {{JSContainer| ===Required Values=== *'''x:''' {{RageType|float}} *'''y:''' {{RageType|float}} *'''z:''' {{RageType|float}} ===Return value=== *{ groundZ: number; normal: Vector3; result: boolean; } ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.getGroundZAndNormalFor3DCoord(x, y, z); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> const {x, y, z} = mp.players.local.position; const {groundZ, normal, result}..."