The title sais it all. I am trying to get the distance between 2 vector3 coords, an I need to check it freeqvently (to show a marker). Is there a way to do async infinite loops in fivem C#?
Maybe this
just use tick, you also don’t need to make any while or loops for it, and you don’t need to use any Wait(0) like lua, it will run your code on every single frame
for more info look at this topic about Tick
Thank you for sharing this
1 Like