Raised This Month: $ Target: $400
 0% 

ColorChats bugs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 11-03-2020 , 15:26   ColorChats bugs
Reply With Quote #1

When i want compile i have error like
//// Host_Say.sma
// C:\Program Files (x86)\Steam\steamapps\common\Half-Life\cstrike\addons\amxmodx\scripting\Host_Sa y.sma(33) : error 017: undefined symbol "client_print_color"



PHP Code:
#include < amxmodx >

#pragma semicolon 1

#define PLUGIN ""
#define VERSION "0.0.1"

#define cm(%0)    ( sizeof(%0) - 1 )

public plugin_init()
{
    
register_pluginPLUGINVERSION"ConnorMcLeod" );

    
register_clcmd("say""Host_Say"0);
    
register_clcmd("say_team""Host_Say"1);
}

public 
Host_Say(id)
{
    static 
said[190];
    
read_args(saidcharsmax(said));
    
remove_quotes(said);

    if( !
said[0] || containi(said"%s%s") != -)
    {
        return 
PLUGIN_HANDLED;
    }

    new 
name[32];
    
get_user_name(idnamecharsmax(name));
    new 
team get_user_team(id);

    
client_print_color(0id"%s^4[%s] ^3%s^1: %s",
                                                    
is_user_alive(id) ? "" "^1*DEAD* "
                                                        
team == "ZOMBIE" random(2) ? "HERO" "HUMAN",
                                                                
name,
                                                                        
said);

    return 
PLUGIN_HANDLED_MAIN// so chat cmds gonna work.


Last edited by Ace67; 11-03-2020 at 15:30.
Ace67 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2020 , 15:43   Re: ColorChats bugs
Reply With Quote #2

u need the include / stock for it.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Old 11-03-2020, 16:06
Ace67
This message has been deleted by Ace67. Reason: fail
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 11-03-2020 , 16:13   Re: ColorChats bugs
Reply With Quote #3

Quote:
Originally Posted by Napoleon_be View Post
u need the include / stock for it.
Can u help me for the include and the stock ?
Ace67 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2020 , 16:36   Re: ColorChats bugs
Reply With Quote #4

Quote:
Originally Posted by Ace67 View Post
Can u help me for the include and the stock ?
Either upgrade to 1.8.3 or use this: https://forums.alliedmods.net/showthread.php?t=94960

Next time search please...
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 11-03-2020 , 16:54   Re: ColorChats bugs
Reply With Quote #5

Quote:
Originally Posted by Napoleon_be View Post
Either upgrade to 1.8.3 or use this: https://forums.alliedmods.net/showthread.php?t=94960

Next time search please...
I just need at plugin for this

i want to edit exemple for terrorist and ct team

[ZOMBIE] Ace67 : im good

And for CT
[BUILDER] Ace67 : hey

PHP Code:
// Team Tags
// Colors are allowed in Teams Tags!
// Should be cool on a BaseBuilder, with:
CHAT_TEAM_TAG_1_A "<green>[ZOMBIE]<default>"
CHAT_TEAM_TAG_2_A "<green>[BUILDER]<default>"
// And in default when dead
// Team Tag for Alive Terrosits
CHAT_TEAM_TAG_1_A "<green>[ZOMBIE]<default>"
// Team Tag for Dead Terrosits (Ahmed!)
CHAT_TEAM_TAG_1_D "<green>[<default>ZOMBIE<green>]<default>"

// Team Tag for Alive Counter-Terrorists
CHAT_TEAM_TAG_2_A "<green>[BUILDER]<default>"
// Team Tag for Dead Counter-Terrorists
CHAT_TEAM_TAG_2_D "<green>[<default>BUILDER<green>]<default>"

// Team Tag for Spectators
CHAT_TEAM_TAG_3 "<green>[SPEC]<default>" 

Last edited by Ace67; 11-03-2020 at 16:59.
Ace67 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2020 , 17:00   Re: ColorChats bugs
Reply With Quote #6

I'm not really understanding what you're trying to say to be honest.

If it has to do with any of these plugins, please just ask help there

https://forums.alliedmods.net/showthread.php?t=295046
https://forums.alliedmods.net/showthread.php?p=1605266
https://forums.alliedmods.net/showthread.php?t=272418
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 11-03-2020 , 17:14   Re: ColorChats bugs
Reply With Quote #7

Quote:
Originally Posted by Napoleon_be View Post
I'm not really understanding what you're trying to say to be honest.

If it has to do with any of these plugins, please just ask help there

https://forums.alliedmods.net/showthread.php?t=295046
https://forums.alliedmods.net/showthread.php?p=1605266
https://forums.alliedmods.net/showthread.php?t=272418
I just saying i need how to done everyone scripts do u has post doesnt work
https://prnt.sc/vcw9yt

He is a prefix i searching how to do

Last edited by Ace67; 11-03-2020 at 17:16.
Ace67 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2020 , 17:24   Re: ColorChats bugs
Reply With Quote #8

Quote:
Originally Posted by Ace67 View Post
I just saying i need how to done everyone scripts do u has post doesnt work
https://prnt.sc/vcw9yt

He is a prefix i searching how to do
And what plugin are you using...?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
Ace67
Senior Member
Join Date: Sep 2020
Location: France
Old 11-03-2020 , 17:33   Re: ColorChats bugs
Reply With Quote #9

I use iChat and he doesn't work and i see on all alliedmodders i dont found the problem :/
Ace67 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 11-03-2020 , 17:35   Re: ColorChats bugs
Reply With Quote #10

try editing this part
PHP Code:
// Default users (no flags) -> Default CS Chat (not CZ)
// General Chat - Alive
FORMAT_DEF_ALIVE "<team>%NAME%<default> :  %MESSAGE%"
// General Chat - Dead
FORMAT_DEF_DEAD "<default>*DEAD* <team>%NAME%<default> :  %MESSAGE%"
// Team Chat - Alive
FORMAT_TEAM_DEF_ALIVE "<default>%TEAM% <team>%NAME%<default> :  %MESSAGE%"
// Team Chat - Dead
FORMAT_TEAM_DEF_DEAD "<default>*DEAD* %TEAM% <team>%NAME%<default> :  %MESSAGE%" 
and reset the other chat settings that you've changed before.
__________________

Last edited by Napoleon_be; 11-03-2020 at 17:35.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
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:09.


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