local function ShowCoordinates()
local player = source
local ped = GetPlayerPed(player)
local playerCoords = GetEntityCoords(ped)
print(playerCoords) -- vector3(...)
end
RegisterNetEvent("myCoordinates")
AddEventHandler("myCoordinates", ShowCoordinates)