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

error 017: undefined symbol "client_print_color"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
giumbalau
Member
Join Date: Jan 2021
Old 01-09-2021 , 08:16   error 017: undefined symbol "client_print_color"
Reply With Quote #1

PHP Code:
public ShowCurrentTop(id)
{
    if(!
SayHot)
    {
        
client_print_color(id,print_team_red,"%L %L",id,"STATS_TAG"id,"DISABLED_MSG")
        
        return 
PLUGIN_HANDLED
    
}
    
    new 
players[MAX_PLAYERS],pnum
    get_players
(players,pnum)
    
    new 
current_top[MAX_PLAYERS][2]
    
    for(new 
i,stats[8],bh[8] ; pnum i++)
    {
        
current_top[i][0] = players[i]
        
        
#if !defined CSSTATSX_SQL
            
current_top[i][1] = get_user_stats(players[i],stats,bh)
        
#else
            
current_top[i][1] = get_user_stats_sql(players[i],stats,bh)
        
#endif
    

giumbalau is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 01-09-2021 , 08:51   Re: error 017: undefined symbol "client_print_color"
Reply With Quote #2

To use client_print_color you need amx 1.9+
__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
giumbalau
Member
Join Date: Jan 2021
Old 01-09-2021 , 10:00   Re: error 017: undefined symbol "client_print_color"
Reply With Quote #3

Quote:
Originally Posted by iceeedr View Post
To use client_print_color you need amx 1.9+
Any other method ? .... to color ?
EDIT : I don't care about the color i just want to solve the error...please

Last edited by giumbalau; 01-09-2021 at 10:05.
giumbalau is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 01-09-2021 , 11:52   Re: error 017: undefined symbol "client_print_color"
Reply With Quote #4

PHP Code:
client_print_color(id,print_team_red,"%L %L",id,"STATS_TAG"id,"DISABLED_MSG"
PHP Code:
client_print(idprint_chat"%L %L"id"STATS_TAG"id"DISABLED_MSG"
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-09-2021 , 14:41   Re: error 017: undefined symbol "client_print_color"
Reply With Quote #5

Simply download cromchat.inc and add #include <cromchat> in the code.
__________________

Last edited by OciXCrom; 01-09-2021 at 14:41.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
giumbalau
Member
Join Date: Jan 2021
Old 01-10-2021 , 04:12   Re: error 017: undefined symbol "client_print_color"
Reply With Quote #6

Solved thanks
giumbalau 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 14:01.


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