So I have started coding lua and I have question regarding the RegisterCommand(..). Inside it there are an Citizen.CreateThread.
I have created a script, so when you run a command it will display a static text.
But I want to make so when the player runs the same command again the text disappear. And when it runs it the third time it appears again etc etc.