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

How i can block?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TRIPL3_H
Junior Member
Join Date: Sep 2010
Location: Moscow
Old 10-26-2011 , 02:13   How i can block?
Reply With Quote #1

Everyone knows that server can crash with the command cmd dlfile pak0.pak

What can think of to protect the server and specifically of this console command?

TRIPL3_H is offline
Send a message via ICQ to TRIPL3_H
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 10-26-2011 , 10:36   Re: How i can block?
Reply With Quote #2

Test is:

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

public plugin_init()
{
    
register_clcmd("cmd dlfile pak0.pak""CmdBlock");
}
public 
CmdBlock(id)
    return 
PLUGIN_HANDLED_MAIN
__________________
kramesa is offline
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 07:03.


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