HolyLib Wiki

HolyLib:PreProcessGameEvent

  boolean HolyLib:PreProcessGameEvent( Player ply, table gameEvents, number entIndex )

Description

Called when the client sends the gameevent list it wants to listen to.

Arguments

1Player ply
The Player that wants to listen to the events, can be NULL if it's called before a player spawned
2table gameEvents
The gameevents he wants to listen to
3number entIndex
The entindex of the player

Returns

1boolean cancel
Return true to stop the from processing the gameevent list