I need help with creating a Thread which gives out a word every 3 Seconds. (“Hallo”)
And this should happen endless how to do this in lua?
Thanks for your time
CreateThread(function()
while true do
Wait(3000)
print(“hallo”)
end
end
Typed with my phone so indentation may be bad.
it doesent work in lua.exe?
I figured they do not understand and need to do some more more homework.
- Install visual studio code (https://code.visualstudio.com/)
- Open your server files
- Put the code that @wasabirobby send in a resource
- Start script
thx
(:
it works i was brain afk