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

Crash Commands


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 15:47.


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