Removed flags from FireEvent()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40718
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user