AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Catch all Events that are triggered? (https://forums.alliedmods.net/showthread.php?t=127607)

mysticssjgoku4 05-22-2010 23:51

Catch all Events that are triggered?
 
I thought there was a plugin years ago that when ran would catch every event that was triggered, so then we could see what the event names are for some mods.
I am specifically trying to get the event name for the round end for NS, and I cannot find this plugin anywhere.
Anyone know what I am talking about?

Thanks

Emp` 05-23-2010 01:42

Re: Catch all Events that are triggered?
 
Quote:

Originally Posted by ns.inc
/**
* Called immediately when a round ends
*
* @param roundtime The length of the round in seconds.
* @noreturn
*/
forward round_end(Float:roundtime);


mysticssjgoku4 05-23-2010 03:05

Re: Catch all Events that are triggered?
 
Thanks, but I still need to know the plugin. =)
Anyone know?

fysiks 05-23-2010 17:07

Re: Catch all Events that are triggered?
 
Any plugin that you write with this:


PHP Code:

#include <ns>
public round_end()
{
    
// Round just ended
    // Do something



mysticssjgoku4 05-23-2010 17:33

Re: Catch all Events that are triggered?
 
I think you misinterpreted what I meant lol.
I need to know the plugin that used to exist many years ago that would actually record all of the events that happened when they happened.

Say I am developing for a mod, I cannot find the event that relates to killing buildings, I need to record all events as they happen so that I know the event name.

fysiks 05-23-2010 17:36

Re: Catch all Events that are triggered?
 
Open the console to your server (with metamod) and type "meta game" and then you can rewrite the plugin I guess :)

Bugsy 05-23-2010 20:45

Re: Catch all Events that are triggered?
 
I think he is trying to get an output of events as they happen so he can figure out how to catch a particular event in his plugin.

http://forums.alliedmods.net/showthread.php?t=7118

fysiks 05-23-2010 21:54

Re: Catch all Events that are triggered?
 
Yeah. You'll have to know the names or numbers of the message which you can get from "meta game".

mysticssjgoku4 05-23-2010 22:03

Re: Catch all Events that are triggered?
 
Quote:

Originally Posted by Bugsy (Post 1189364)
I think he is trying to get an output of events as they happen so he can figure out how to catch a particular event in his plugin.

http://forums.alliedmods.net/showthread.php?t=7118

Correct! Thank you! That is the exact plugin I was thinking of but I could not remember the name! Thanks!


All times are GMT -4. The time now is 05:21.

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