Raised This Month: $ Target: $400
 0% 

"Unregister" or block command?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 03-30-2014 , 10:05   Re: "Unregister" or block command?
Reply With Quote #8

Quote:
Originally Posted by Desikac View Post
That will not prevent the original amx_ban from executing. The player will already be kicked when my function starts.
Replacing another plugin is harder than just putting mine first in plugins.ini.
Yes it will. I don't just take guesses to collect posts.
Without plugin:
Code:
] amx_ban test
Usage:  amx_ban <name or #userid> <minutes> [reason]
] amx_kick test
Client with that name or userid not found
With plugin:
Code:
] amx_ban test
] amx_kick test
Client with that name or userid not found

Code:
server_print("plugin_init() admincmd")
Code:
server_print("plugin_init() custom plugin")
Code:
plugin_init() admincmd
plugin_init() custom plugin
__________________

Last edited by Black Rose; 03-30-2014 at 10:10.
Black Rose is offline
 



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 05:58.


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