Olá!
Segue abaixo um comando que pode ser customizado por você para visualizar as coordenadas e também a posição (heading).
Obs: repare no detalhe abaixo que o comando que será utilizado é o "cds4" e precisa ter a permissão de admin.persmissão.
-----------------------------------------------------------------------------------------------------------------------------------------
-- COORDENADAS COMPLETA BY HIDEKI
-- CRÉDITOS: FIVEMDEV
-----------------------------------------------------------------------------------------------------------------------------------------
RegisterCommand('cds4',function(source,args,rawCommand)
local user_id = vRP.getUserId(source)
if vRP.hasPermission(user_id,"admin.permissao") then
local x,y,z = vRPclient.getPosition(source)
local h = GetEntityHeading(GetPlayerPed(source))
vRP.prompt(source,"Cordenadas: ", "['x'] = "..tDFULL(x)..", ['y'] = "..tDFULL(y)..", ['z'] = "..tDFULL(z)..", ['h'] = "..tDFULL(h))
end
end)
function tDFULL(n)
n = math.ceil(n * 100) / 100
return n
end