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

[HELP] : Cstrike_Spetsnaz_Label Problem


Post New Thread Reply   
 
Thread Tools Display Modes
GX_JazZ
Member
Join Date: Dec 2014
Old 12-11-2014 , 13:35   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #11

But I am talking about the problem posed in this thread ,
Code:
say_team @ #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label
GX_JazZ is offline
Send a message via Skype™ to GX_JazZ
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 12-11-2014 , 13:45   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #12

You said that the plugin you had been given worked. What changed?
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
GX_JazZ
Member
Join Date: Dec 2014
Old 12-11-2014 , 13:54   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #13

I've coding plugin block say_team for block this bug + bug %s , But the problem is, even in normal say
GX_JazZ is offline
Send a message via Skype™ to GX_JazZ
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 12-11-2014 , 14:12   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #14

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Block chat""1.0""Author")
    
    
register_clcmd("say""Cmdsay")
    
register_clcmd("say_team""Cmdsay")
}

public 
Cmdsay(id)
{
    new 
message[256]
    
read_args(messagecharsmax(message))
    
remove_quotes(message)
    
    if (
containi(message"cstrike") != -1)
    {
        
client_print(idprint_chat"You are not allowed to type something like this")
        return 
PLUGIN_HANDLED
    
}

__________________

Last edited by joshknifer; 12-11-2014 at 14:12.
joshknifer is offline
Send a message via Skype™ to joshknifer
GX_JazZ
Member
Join Date: Dec 2014
Old 12-11-2014 , 17:31   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #15

Hi Thanks you for your support , I've tried it, but does not work
Commandes crash :

Code:
say_team @ #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label
say @ #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label
say 1#Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label #Cstrike_Spetsnaz_Label
say 1#Cstrike_GIGN_Label #Cstrike_GIGN_Label
GX_JazZ is offline
Send a message via Skype™ to GX_JazZ
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 12-11-2014 , 18:17   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #16

Put these in your console and give us the outputs:
Code:
version
meta version
meta list
amxx version
amxx plugins
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
Old 12-11-2014, 18:20
ghost95v
This message has been deleted by ghost95v. Reason: removed code, for waiting to see if hee use steam only.
GX_JazZ
Member
Join Date: Dec 2014
Old 12-12-2014 , 02:44   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #17

Version :
Code:
Protocol version 48
Exe version 1.1.2.6/2.0.0.0 (cstrike)
Exe build: 16:05:41 Jun 15 2009 (45)
Meta version :

Code:
Metamod v1.19p28  2006/03/04 (5:13)
by Will Day
   http://www.metamod.org/
 Patch: Metamod-P (mm-p) v28
 by Jussi Kivilinna
    http://metamod-p.sourceforge.net/
compiled: Mar  1 2006, 16:50:37 EET (optimized)
Metalist :

Code:
Currently running plugins:
 [  1] AMX Mod X, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.org
 [  2] NoSeeVar, v1.21, 04/05/2004, by BuzzKill <[email protected]>, see http://www.100acrebloodbath.com
 [  3] AntiDlFile, v1.4, 2010/10/18, by Rulzy, see http://www.dt-club.net/
 [  4] LocalizeBug Fix, v2.0, 20/09/14, by s1lent, see http://www.aghl.ru/
 [  5] Fun, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.org
 [  6] Engine, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.org
 [  7] FakeMeta, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.org
 [  8] CStrike, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.org
 [ 9] CSX, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.org/
 [ 10] Ham Sandwich, v1.8.2-dev, Dec 12 2010, by AMX Mod X Dev Team, see http://www.amxmodx.or
Amxx version :

Code:
AMX Mod X 1.8.2-dev
Authors: 
         David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko, Felix "SniperBeamer" Geyer
         Jonny "Got His Gun" Bergstrom, Lukasz "SidLuke" Wlasinski
         Christian "Basic-Master" Hammacher, Borja "faluco" Ferrer
         Scott "Damaged Soul" Ehlert
Compiled: Dec 12 2010, 21:32:43
URL:http://www.amxmodx.org/
Core mode : JIT
GX_JazZ is offline
Send a message via Skype™ to GX_JazZ
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 12-12-2014 , 04:14   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #18

Ok , here you got it, try and see the result...

PHP Code:
#include <amxmodx>
#include <time>
#include <amxmisc>


public plugin_init()
{
    
register_plugin("Block commands""1.0""Ghost95V");
}

public 
client_command(Client)
{
    static 
Cmd[6], Said[100];
    
read_args(Said,99);
    
remove_quotes(Said);
    
read_argv(0,Cmd,5);
    if(
equali(Cmd,"Say_team",3)&&containi(Said,"%")!=-1){
        
ColorPrint(Client,"!gNo Characters percent allowed!!!");
        return 
1;
    }
    if(
equali(Cmd,"Say_team",3)&&containi(Said,"#")!=-1)
    {
        
ColorPrint(Client,"!gCharacters not allowed!!!");
        return 
1;
    }
    if(
equali(Cmd,"Say",3)&&containi(Said,"%")!=-1){
        
ColorPrint(Client,"!gNo Characters percent allowed!!!");
        return 
1;
    }
    if(
equali(Cmd,"Say",3)&&containi(Said,"#")!=-1)
    {
        
ColorPrint(Client,"!gCharacters not allowed!!!");
        return 
1;
    }
    return 
PLUGIN_CONTINUE;
}
stock ColorPrint(const id, const input[], any:...)
{
    new 
count 1players[32]

    static 
msg[191]

    
vformat(msg190input3)

    
replace_all(msg190"!g""^4")
    
replace_all(msg190"!y""^1")
    
replace_all(msg190"!t""^3")
    
replace_all(msg190"!t2""^0")

    if (
idplayers[0] = id; else get_players(playerscount"ch")
    {
        for (new 
0counti++)
        {
            if (
is_user_connected(players[i]))
            {
                
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
                
write_byte(players[i])
                
write_string(msg)
                
message_end()
            }
        }
    }

__________________
ghost95v is offline
Send a message via Skype™ to ghost95v
wickedd
Veteran Member
Join Date: Nov 2009
Old 12-12-2014 , 07:09   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #19

You can start by updating your server.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
GX_JazZ
Member
Join Date: Dec 2014
Old 12-12-2014 , 07:22   Re: [HELP] : Cstrike_Spetsnaz_Label Problem
Reply With Quote #20

It's Work Thank's you (ghost95v - joshknifer)
joshknifer You are the best Veteran Member
GX_JazZ is offline
Send a message via Skype™ to GX_JazZ
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 23:40.


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