HolyLib Wiki

GetClientListeners

  table gameevent.GetClientListeners( Player ply = nil )

Description

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.

Arguments

1Player ply = nil
The Player to get the gameevents from

Returns

1table gameevents
A table containing all the gameevents the client is listening to.