Event system: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Events moved to Event system) |
Revision as of 22:36, 30 August 2007
Canceling
Events can be canceled with cancelEvent. This can have a variety of effects, but in general this means that the server will not perform whatever action it would usually do. For example, canceling onPickupUse would prevent a player being given what they tried to pick up, canceling onVehicleStartEnter would prevent the player entering the vehicle. You can check if the currently active event has been canceled using wasEventCanceled.