Raised This Month: $ Target: $400
 0% 

[HELP] Hud MSG Color ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 01-14-2016 , 08:24   Re: [HELP] Hud MSG Color ?
Reply With Quote #7

addons_zz

Thanks but how to make them among the only two colors?

ex: Blue & yellow
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"


new g_current_color_red 255
new g_current_color_green 255
new g_current_color_blue 255

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say g""show_last_round_HUD")
    
    
// Add your code here...
}
public 
show_last_round_HUD(id)
{
    
g_current_color_red = ( g_current_color_red 50 ) % 256
    g_current_color_green 
= ( g_current_color_green 40 ) % 256
    g_current_color_blue 
= ( g_current_color_blue 30 ) % 256

    set_hudmessage
g_current_color_redg_current_color_greeng_current_color_blue,0.150.1500.01.00.10.1)
    
show_hudmessage(id"BLALALALLALLALALLLLALLALALAL ?")
    
   
// client_print(0, print_chat, " Hellow World ")

__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
 



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 09:24.


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