English run other script while server is running

2 replies
Goto Page
To the start Previous 1 Next To the start
Up
stalker russs
User
Offline Off
re-start the server with another lua for a very long time. is there a way to run other lua when the server is already running?
hi!

Admin/mod comment:

Your title was incomplete. I replaced it with a complete & shorter one /DC
16.08.15 06:23:30 pm
Up
TimeQuesT
User
Offline Off
type in console:
Code:
1
lua dofile("%PATH_TO_SCRIPT%");


but be aware that the old script will still run.
If you know lua you an extend scripts with an unload function.
Muh
16.08.15 09:21:27 pm
Up
The Gajos
BANNED
Offline Off
Code:
lua "dofile('sys/lua/test.lua')"
To the start Previous 1 Next To the start