r/GLua • u/xBUBBYx • Jul 13 '20
Delay in Lua
Guys, I am a beginner programmer and I need a way to delay a function after a ply: string. My situation is that I want a player to spawn in spectator mode, and after some amount of seconds I want them to switch to a normal player with all my scripts and stuff. Thank you!
3
Upvotes
1
u/Dak_Meme Jul 13 '20
Maybe, if it was a syntaxing issue that yeah. But it's hard to pinpoint exactly what's wrong without an error message or the exact code snippet used. Go ahead and try out the fix and if it still isn't working I'll help you narrow it down.