Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lastLocation = nil
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(2)
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- SetTextFont(1)
- SetTextProportional(1)
- SetTextScale(0.5, 0.5)
- SetTextColour(255, 255, 255, 255)
- SetTextDropshadow(0, 0, 0, 0, 255)
- SetTextEdge(1, 0, 0, 0, 255)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry("STRING")
- AddTextComponentString(x)
- DrawText(0.026, 0.68)
- end
- end)
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(2)
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- SetTextFont(1)
- SetTextProportional(1)
- SetTextScale(0.5, 0.5)
- SetTextColour(255, 255, 255, 255)
- SetTextDropshadow(0, 0, 0, 0, 255)
- SetTextEdge(1, 0, 0, 0, 255)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry("STRING")
- AddTextComponentString(y)
- DrawText(0.146, 0.68)
- end
- end)
- Citizen.CreateThread(function()
- while true do
- Citizen.Wait(2)
- x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))
- SetTextFont(1)
- SetTextProportional(1)
- SetTextScale(0.5, 0.5)
- SetTextColour(255, 255, 255, 255)
- SetTextDropshadow(0, 0, 0, 0, 255)
- SetTextEdge(1, 0, 0, 0, 255)
- SetTextDropShadow()
- SetTextOutline()
- SetTextEntry("STRING")
- AddTextComponentString(z)
- DrawText(0.246, 0.68)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement