Raised This Month: $70 Target: $400
 17% 

error 017: undefined symbol "client_print_color"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
giumbalau
Junior 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.
iceeedr is offline
Send a message via Skype™ to iceeedr
giumbalau
Junior 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.
__________________


Dear admins. If somehow you managed to read this, plz fix.

Last edited by OciXCrom; 01-09-2021 at 14:41.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
giumbalau
Junior 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


Thread Tools
Display Modes

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 18:45.


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