Location Display

Hello,

I am currently working on a player location display that would work server side. To work towards the goal of dropping script hook altogether on the client side, in need to move the player location mod that we all use to the server. I am not making it look like Player Location Display, and that’s not my goal, but can someone point me in the right direction to update the UI constantly.

I tried wrapping the following in a Citizen thread.

while true do
   // My logic for the player location and drawing of UI
end

But, unfortunately I had nothing added to the UI. I’m not sure on what should and should not be in a new Citizen thread and how to draw to the UI from a resource.

Thanks for any guidance.

Scott