[Help with script]

Hello, i try to show de Coords in Chat message ( event )

But, he don’t work i need you help thanks for help :slight_smile: it’s my sv_pos.lua ( serv side )

Problem solved :slight_smile:

–server–
if(command[1] == “/pos”) then
CancelEvent()
TriggerClientEvent(“getPosition”, source)

–client–
local playerCoords =
GetEntityCoords(playerPed)
playerCoords = playerCoords + vector3(0, 2, 0)

The old /pos command from FR.