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

Intercepting an AMXX Plugin action...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoGo_xD
Junior Member
Join Date: Jun 2006
Location: Paris, France
Old 07-04-2006 , 10:17   Intercepting an AMXX Plugin action...
Reply With Quote #1

Hi.

I'm looking for a function or something else which can allow to get a specific AMXX action.

Example:

I have a plugin which does the "set_user_rendering" function on a player.

I want to know how can I intercept this AMXX action: when the "set_user_rendering" is done, another plugin does a hud message which contains "he's now glowing!"

Is that possible?
__________________
I'm sorry for the bad english I can sometime use.
My TFC Server: 80.248.208.208:27015


Last edited by GoGo_xD; 07-04-2006 at 10:20. Reason: title changed...
GoGo_xD is offline
Send a message via MSN to GoGo_xD
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-04-2006 , 11:31   Re: Intercepting an AMXX Plugin action...
Reply With Quote #2

no
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-04-2006 , 11:40   Re: Intercepting an AMXX Plugin action...
Reply With Quote #3

What plugin are you using which makes the glowefect ?
If it is a public plugin with sma it should be fairly easy adding it to the plugin.........
__________________
Enjoy getting older - The only alternative is death!
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-04-2006 , 11:41   Re: Intercepting an AMXX Plugin action...
Reply With Quote #4

Quote:
Originally Posted by L0neW0lf
What plugin are you using which makes the glowefect ?
If it is a public plugin with sma it should be fairly easy adding it to the plugin.........
It's always possible to edit every single plugin and use CreateMultiForward calling some function every time you use it, but that's retarded.

He's using the glow thing as an example, he wants to do this on a more massive scale without editing any other scripts. (I'm guessing)
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
GoGo_xD
Junior Member
Join Date: Jun 2006
Location: Paris, France
Old 07-04-2006 , 11:42   Re: Intercepting an AMXX Plugin action...
Reply With Quote #5

I want to call a plugin function when another plugin does something.
__________________
I'm sorry for the bad english I can sometime use.
My TFC Server: 80.248.208.208:27015

GoGo_xD is offline
Send a message via MSN to GoGo_xD
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-04-2006 , 11:44   Re: Intercepting an AMXX Plugin action...
Reply With Quote #6

Quote:
Originally Posted by GoGo_xD
I want to call a plugin function when another plugin does something.
Then you want CreateMultiForward and ExecuteForward.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
GoGo_xD
Junior Member
Join Date: Jun 2006
Location: Paris, France
Old 07-04-2006 , 11:52   Re: Intercepting an AMXX Plugin action...
Reply With Quote #7

Quote:
Originally Posted by Hawk552
Then you want CreateMultiForward and ExecuteForward.
And how does it run?
__________________
I'm sorry for the bad english I can sometime use.
My TFC Server: 80.248.208.208:27015

GoGo_xD is offline
Send a message via MSN to GoGo_xD
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-04-2006 , 12:28   Re: Intercepting an AMXX Plugin action...
Reply With Quote #8

Quote:
Originally Posted by GoGo_xD
And how does it run?
too long to write an example, just look it up, there's I think 3 articles about it so it shouldn't be hard to find a decent one.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
GoGo_xD
Junior Member
Join Date: Jun 2006
Location: Paris, France
Old 07-04-2006 , 15:38   Re: Intercepting an AMXX Plugin action...
Reply With Quote #9

Quote:
Originally Posted by Hawk552
too long to write an example, just look it up, there's I think 3 articles about it so it shouldn't be hard to find a decent one.
Ok, thanks
__________________
I'm sorry for the bad english I can sometime use.
My TFC Server: 80.248.208.208:27015

GoGo_xD is offline
Send a message via MSN to GoGo_xD
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-04-2006 , 18:08   Re: Intercepting an AMXX Plugin action...
Reply With Quote #10

If you find the solution it would be good to post it here, with your code and explanation, just how to handle one plugin......

Why is it good?
It will optimize forum search functionality
And it is interesting hehe
__________________
Enjoy getting older - The only alternative is death!
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
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:09.


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