is there any way to update lua script without restarting server ??
Forum




update lua script without restarting
6 Antworten



is there any way to update lua script without restarting server ??

dofile("sys/lua/server.lua")



The problem with this is that it won't clean up the Lua VM and old declared variables will stay there. So this might lead to confusing results but it really depends on how you work and what you do.
Therefore map change or server restart (both is technically the same) is recommended.
There's also


You meant






