Raised This Month: $51 Target: $400
 12% 

Solved Colorchat issue in Amxmodx 1.8.3


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 11-08-2016 , 01:48   Colorchat issue in Amxmodx 1.8.3
Reply With Quote #1

Amxmodx 1.8.3-Re #local compiler
i m getting error undefined symbol Red
This is straight example from chatcolor Link : https://forums.alliedmods.net/showthread.php?t=94960
PHP Code:

#include <amxmodx>

public plugin_init()
{
register_clcmd("say /test","show_output");
}

public 
show_output(id)
{
client_print_color(idRed"^4This is green ^3this is red, ^1this is your default chat text color");

__________________
Thanks everyone. #miss_you_all

Last edited by indraraj striker; 11-08-2016 at 04:27.
indraraj striker is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-08-2016 , 03:29   Re: Colorchat issue in Amxmodx 1.8.3
Reply With Quote #2

As documentation says, you have to use the following constants: print_team_default, print_team_red, print_team_blue, print_team_grey.
__________________
Arkshine is offline
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 11-08-2016 , 04:27   Re: Colorchat issue in Amxmodx 1.8.3
Reply With Quote #3

Arkshine Thanks.
__________________
Thanks everyone. #miss_you_all
indraraj striker is offline
Reply



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:27.


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