Raised This Month: $ Target: $400
 0% 

How to hook another plugins Command [ Possible ? ]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
byetovice
Senior Member
Join Date: Nov 2009
Location: Turkey
Old 06-17-2011 , 15:17   How to hook another plugins Command [ Possible ? ]
Reply With Quote #1

Hello everybody.
My plugin is :
PHP Code:
public plugin_init()
{
register_concmd("amx_test","cmd_test",ADMIN_BAN,"<target> <amount>")
}

public 
cmd_test(id,level,cid)
{
...
return 
PLUGIN_HANDLED;

It ends with PLUGIN_HANDLED. Is there any way to hook this command, with another plugin ? Getting everything wrote in console,, args.. etc.

Is it possible _? How ? Please help me =D
__________________
Working on mods..
byetovice is offline
 


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 23:25.


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