UgDev Docs
CtrlK
  • ๐Ÿ‘‹Welcome!
  • ๐Ÿ”ซFiveM
    • ๐Ÿ‘‘ug-vipsystem
      • ๐Ÿ“ฅInstallation
      • โš™๏ธConfiguration
      • ๐Ÿ”ฉExports
        • ๐ŸŽฎClient Side
        • ๐Ÿ–ฅ๏ธServer Side
      • ๐Ÿ›’Tebex Support
    • ๐Ÿš—ug-garage
      • ๐Ÿ“ฅInstallation
      • โš™๏ธConfiguration
      • ๐Ÿ”ฉExports
        • ๐ŸŽฎClient Side
      • ๐Ÿ“‹Events
        • ๐ŸŽฎClient Side
    • ๐Ÿ“ปug-dispatch
      • ๐Ÿ“ฅInstallation
      • โš™๏ธConfiguration
      • ๐Ÿ”ฉExports
        • ๐ŸŽฎClient Side
  • โš™๏ธUgCore
    • ๐Ÿ› ๏ธUsing Core
    • โš™๏ธExtensions
    • ๐ŸŽฎClient
      • ๐Ÿ“šPlayer Data
      • ๐Ÿ“œEvents
      • ๐Ÿ–ฅ๏ธFunctions
      • ๐Ÿ“žCallbacks
  • ๐Ÿ›’Shop
    • Page 4
Powered by GitBook
On this page
  • Coords
  • Description
  • Example

Was this helpful?

  1. โš™๏ธUgCore
  2. ๐ŸŽฎClient

๐Ÿ“šPlayer Data

Coords

Description

This will get the player coords.

Example

local UgCore = exports['ug-core']:GetCore()

RegisterCommand('getCoords', function (source, args)
    local coords = UgCore.PlayerData.coords
    print(coords)
end, false)

PreviousClientNextEvents

Last updated 1 year ago

Was this helpful?