Topic: use tick function in teeworld code
hey guys
i need a function that can repeat statements infinite,i guess i should use GameTick or other time variables to do this but when i use gametick in loops (while or for) this causes lag or game crash! i saw this function(tick) in lua file that is used in (n-client)
but i dont know how can i do this in teeworld source code.