Removed flags from FireEvent()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40718
This commit is contained in:
Scott Ehlert
2007-04-30 22:03:28 +00:00
parent 1b5bcc4836
commit 473e1d4135
4 changed files with 5 additions and 31 deletions
+1 -7
View File
@@ -18,11 +18,6 @@
#endif
#define _events_included
/**
* Flags for firing game events
*/
#define EVENT_PASSTHRU_ALL (1<<1) /**< Event will pass through other SourceMM plugins AND SourceMod */
/**
* Event hook modes determining how hooking should be handled
*/
@@ -94,12 +89,11 @@ native Handle:CreateEvent(const String:name[]);
* Fires a game event.
*
* @param event Handle to the event.
* @param flags Optional bitstring flags. See EVENT_* constants for more details.
* @param dontBroadcast Optional boolean that determines if event should be broadcast to clients.
* @noreturn
* @error Invalid or corrupt Handle.
*/
native FireEvent(Handle:event, flags=0, bool:dontBroadcast=false);
native FireEvent(Handle:event, bool:dontBroadcast=false);
/**
* Cancels a previously created game event that has not been fired.