Creating/Firing/Canceling events now use CStack to avoid the need to use new when possible
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40583
This commit is contained in:
@@ -91,12 +91,12 @@ native Handle:CreateEvent(const String:name[]);
|
||||
* Fires a game event.
|
||||
*
|
||||
* @param event Handle to the event.
|
||||
* @param dontBroadcast Optional boolean that determines if event should be broadcast to clients.
|
||||
* @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, bool:dontBroadcast=false, flags=0);
|
||||
native FireEvent(Handle:event, flags=0, bool:dontBroadcast=false);
|
||||
|
||||
/**
|
||||
* Cancels a previously created game event that has not been fired.
|
||||
|
||||
Reference in New Issue
Block a user