Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(0)
- pos = GetEntityCoords(GetPlayerPed(-1))
- WriteCoords("x : " .. tostring(pos.x), 0.8, 0.49)
- WriteCoords("y : " .. tostring(pos.y), 0.8, 0.51)
- WriteCoords("z : " .. tostring(pos.z), 0.8, 0.53)
- end
- end)
- function WriteCoords(txt, x, y)
- SetTextFont(0)
- SetTextProportional(0)
- SetTextScale(0.4, 0.4)
- SetTextColour(255, 255, 255, 255)
- SetTextEntry("STRING")
- AddTextComponentString(txt)
- DrawText(x, y)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement