AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help color screenfade (https://forums.alliedmods.net/showthread.php?t=242671)

Toallin 06-22-2014 19:51

Help color screenfade
 
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(PLUGINVERSIONAUTHOR)
    
    
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(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /uncolors""ShowUncolosr")
}

public 
ShowUncolors(id)
{
        
// disable color screenfade




All times are GMT -4. The time now is 21:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.