Raised This Month: $ Target: $400
 0% 

Random fade colors


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BannedUser!
BANNED
Join Date: Feb 2010
Old 02-02-2010 , 04:09   Re: Random fade colors
Reply With Quote #2

You need this?

PHP Code:
#include <amxmodx>
#include <amxmisc>

new a
new b
new c
new d

public plugin_init()
{
    
register_event("HLTV""event_round_start""a""1=0""2=0")
    
register_clcmd("say /fadescreen""screenfade")
}

public 
event_round_start()
{
    
random_num(1255)
    
random_num(1255)
    
random_num(1255)
    
random_num(4065)
}

public 
screenfade(id)
{
    
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id)
    
write_short(~0)
    
write_short(~0)
    
write_short(1<<12)
    
write_byte(a)
    
write_byte(b)
    
write_byte(c)
    
write_byte(d)
    
message_end()  

BannedUser! is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:20.


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