HolyLib Wiki

RemoveClientListener

  boolean gameevent.RemoveClientListener( Player ply, string gameevent = nil )

Description

Removes the player from listening to the given gameevent.
If the given gameevent is nil it will remove the player from all gameevents.

Arguments

1Player ply
The Player to get the gameevents from
2string gameevent = nil
The event to remove the player from. If nil the player is removed from all events.

Returns

1boolean success
Returns true if the client was successfully removed