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

Crash Commands


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 04-03-2015 , 23:32   Crash Commands
Reply With Quote #1

When Some one say %s0 , the server crashs ..
i tried this but still not work..
PHP Code:
#include <amxmodx>

public plugin_init() { 
    
register_clcmd("say""CmdSay"); 
    
register_clcmd("say_team""CmdSay"); 


public 
CmdSay(id) { 
    new 
args[192]; 
    
read_args(argscharsmax(args)); 
    
remove_quotes(args); 
     
    if(
containi(args"%") != -1) { 
        static 
szName[32];
    
get_user_name(idszName ,33)
            return 
PLUGIN_HANDLED
    } 
     
    return 
PLUGIN_CONTINUE

__________________
ZiZox is offline
Send a message via Skype™ to ZiZox
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-03-2015 , 23:41   Re: Crash Commands
Reply With Quote #2

You probably need to update your server (I thought they fixed this already).

What is the version of your server? Please provide the output of the follow server commands:

Code:
version
meta version
meta list
__________________
fysiks is offline
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 04-04-2015 , 00:11   Re: Crash Commands
Reply With Quote #3

Version :
Quote:
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 13:12:29 Aug 29 2013 (6153)
Meta Version :
Quote:
Metamod v1.21-am
Meta List :
Quote:
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
[ 2] dproto_EF RUN - dproto_i386.so v0.9.356 ini Start Never
[ 3] CustomizationEx RUN - overload_fix.so v0.0.2 ini ANY ANY
[ 4] CStrike RUN - cstrike_amxx_i38 v1.8.2 pl1 ANY ANY
[ 5] CSX RUN - csx_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 6] Fun RUN - fun_amxx_i386.so v1.8.2 pl1 ANY ANY
[ 7] Engine RUN - engine_amxx_i386 v1.8.2 pl1 ANY ANY
[ 8] FakeMeta RUN - fakemeta_amxx_i3 v1.8.2 pl1 ANY ANY
[9] Ham Sandwich RUN - hamsandwich_amxx v1.8.2 pl1 ANY ANY
[10] MySQL RUN - mysql_amxx_i386. v1.8.2 pl1 ANY ANY
10 plugins, 10 running
__________________
ZiZox is offline
Send a message via Skype™ to ZiZox
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 04-04-2015 , 00:32   Re: Crash Commands
Reply With Quote #4

Remove dproto, make your server steam only, and update to the latest Valve-released version of cstrike.
__________________

Last edited by ddhoward; 04-04-2015 at 00:33.
ddhoward is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-04-2015 , 03:43   Re: Crash Commands
Reply With Quote #5

Yep. That's the solution.
__________________
fysiks 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 03:20.


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