Skip to content

UpdateZ

Parameters

  • z number

Returns

  • None

Raise

  • warning not passed a number

Examples

local coords = Coords(GetEntityCoords(PlayerPedId()))
coords:UpdateZ(50.0)
-- doesn't affect to the player coords