This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

error 017: undefined symbol "ChatColor"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-14-2024 , 01:04   Re: error 017: undefined symbol "ChatColor"
Reply With Quote #1

You need to have the proper include file for the functions that you want to use. Notice that the include that you're using is called "colorchat" but you're using a function called "chatcolor". Either get an include that contains "chatcolor" or use the functions defined in your include file.

Alternatively, if you're using AMX Mod X 1.9.x or newer, you'll have a built-in color chat function called client_print_color() so you can just use that one instead and not need any extra include files.
__________________

Last edited by fysiks; 04-14-2024 at 01:07.
fysiks is offline
fjlep
Junior Member
Join Date: Apr 2024
Old 04-14-2024 , 11:20   Re: error 017: undefined symbol "ChatColor"
Reply With Quote #2

Quote:
Originally Posted by fysiks View Post
You need to have the proper include file for the functions that you want to use. Notice that the include that you're using is called "colorchat" but you're using a function called "chatcolor". Either get an include that contains "chatcolor" or use the functions defined in your include file.

Alternatively, if you're using AMX Mod X 1.9.x or newer, you'll have a built-in color chat function called client_print_color() so you can just use that one instead and not need any extra include files.
I put the include chatcolor and I check this message error 021: symbol already defined: "client_print_color" at the end of compiling, I don't have much knowledge in amxx, I hope you help me please.
fjlep 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 08:29.


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