Best to all.
could help to create a colorful screenfade with some task
when I turn on the screen changes color every second random.
and when you turn off the display stops flashing.
Thanks.
Enable screenfade
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /colors", "ShowColors")
}
public ShowColors(id)
{
//colored screenfade
}
disable screenfade
PHP Code:
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /uncolors", "ShowUncolosr")
}
public ShowUncolors(id)
{
// disable color screenfade
}