Quote:
Originally Posted by ot_207
That resets the light always when clients connect. It is not needed.
PHP Code:
#include <amxmodx> #include <engine> public plugin_init() { register_plugin("Total Darkness", "1.0", "hleV"); set_lights("a"); }
To make with a cvar you need to make it with a looped task.
|
Sometimes light resets for newly connecting players, that's why I'm doing it in putinserver.
__________________