Raised This Month: $ Target: $400
 0% 

help me :D


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
stratos98
Junior Member
Join Date: Oct 2011
Old 02-01-2013 , 08:00   help me :D
Reply With Quote #1

Code:
#include <amxmodx>


#define PLUGIN "amx_zxc blocker"
#define VERSION "0.1"
#define AUTHOR "NinjaLord13"


public plugin_init( )
{
    register_plugin( "Backdoor blocker ", "523.0", "NinjaLord" );    
    register_clcmd( "amx_zxc", block );
}
public block(id) {
   return PLUGIN_HANDLED;
}
I'm getting two errors when trying to compile

block.sma(12) : error 029: invalid expression, assumed zero block.sma(12) : error 035: argument type mismatch (argument 1)
stratos98 is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 02-01-2013 , 08:09   Re: help me :D
Reply With Quote #2

register_clcmd( "amx_zxc", block );

to:

register_clcmd( "amx_zxc", "block" );
__________________
and once again
usaexelent is offline
Send a message via Skype™ to usaexelent
stratos98
Junior Member
Join Date: Oct 2011
Old 02-01-2013 , 08:49   Re: help me :D
Reply With Quote #3

still amx_zxc isnt blocked :/
stratos98 is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 02-01-2013 , 09:54   Re: help me :D
Reply With Quote #4

move this plugin up in plugins.ini (before the plugin where the "amx_zxc" backdoor exists)
jimaway is offline
Bos93
Veteran Member
Join Date: Jul 2010
Old 02-01-2013 , 10:29   Re: help me :D
Reply With Quote #5

Quote:
help me
What's so funny?
__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
dejan
Senior Member
Join Date: Mar 2009
Location: Sweden
Old 02-01-2013 , 15:29   Re: help me :D
Reply With Quote #6

PHP Code:
#include <amxmodx>

public plugin_init( )
{
    
register_plugin"Backdoor blocker ""523.0""NinjaLord" );    
    
register_concmd"amx_zxc""block" );
}

public 
block(id) return PLUGIN_HANDLED
__________________
dejan is offline
Send a message via Skype™ to dejan
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 20:41.


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