Skip to content

UpdateY

Parameters

  • y number

Returns

  • None

Raise

  • warning not passed a number

Examples

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