HolyLib Wiki

AddClientListener

  boolean gameevent.AddClientListener( Player ply, string gameevent )

Description

Adds the given player to listen to the given event.

Was removed/disabled since it was broken.

Arguments

1Player ply
The Player to add the event to
2string gameevent
The gameevent the player should listen to

Returns

1boolean success
Returns true if the player was successfully added to the given gameevent.