AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Paiting their screens (https://forums.alliedmods.net/showthread.php?t=113606)

Mxnn 12-28-2009 13:06

Paiting their screens
 
Hi! i'm here again u.u. I'm trying to painting their consoles like HNS or Warning System. I look the Warning System code and a found this:
PHP Code:

new gmsgFade
public plugin_init() gmsgFadeget_user_msgid("ScreenFade"
...
public 
myF() {
        ....
       
message_begin(MSG_ONEgmsgFade, {0,0,0}, id)
        
write_short(1<<5// fade lasts this long duration  
        
write_short(1<<5// fade lasts this long hold time  
        
write_short(0<<1// fade type OUT 
        
write_byte(255// fade red  
        
write_byte(0// fade green  
        
write_byte(0// fade blue    
        
write_byte(150// fade alpha   
        
message_end()


I'm tried in my server but didn't works.. anyone can help me? :E

Thanks in advance

EDIT: I can solve this, you can close the th


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

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