Raised This Month: $ Target: $400
 0% 

Solved Color problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 08-11-2020 , 12:52   Color problem
Reply With Quote #1

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_concmd("say /t""test"
}

public 
test()
{
    new 
Float:COLOR[3]
    
COLOR[0] = COLOR[0] ? 255 0
    COLOR
[1] = COLOR[1] ? 0
    COLOR
[2] = COLOR[2] ? 255
    
    set_hudmessage
(COLOR[0], COLOR[1], COLOR[2], -1.00.006.01.0)
    
show_hudmessage(0"Test")


Last edited by amirwolf; 08-12-2020 at 04:15.
amirwolf 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 13:44.


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