gameevent
gameevent
This library extents gmod's original gameevent library.
Methods
Adds the given player to listen to the given event.
Was removed/disabled since it was broken.
Blocks/Unblocks the creation of the specified gameevent.
Creates the given gameevent and returns it.
Duplicates the given event
Fires the given gameevent only for the specific player
Fires the given gameevent and networks it to all players.
Returns a table containing all gameevents the specific client is listening to.
If not given a valid player, it will return a table containing all players as a key and all gameevents their listening to as the value.
If not given a valid player, it will return a table containing all players as a key and all gameevents their listening to as the value.
Returns the number of Listeners a specific gameevent has.
If not given a eventName, it will return a table containing all events and listener numbers.
If not given a eventName, it will return a table containing all events and listener numbers.
Removes the player from listening to the given gameevent.
If the given gameevent is nil it will remove the player from all gameevents.
If the given gameevent is nil it will remove the player from all gameevents.
Removes the Lua gameevent listener from the specific gameevent.