Hooks 30

Hook Description
ClientConnectedToServer
When the player is connecting to the server
OnPlayerInfected
When the player gets infected
OnPlayerSpawn
When the player has spawned
ClientPutInServer
When the player has spawned in, for the first time
OnPlayerConnected
When the player is connecting to the server
OnEntityPickedUp
When the player successfully picks up an entity, which will return its classname.
It will also be called whenever the player presses a button, but it will return its name, instead of the classname. (If the button has no name, it will return with an empty string)
OnStartTouch
When an entity has started touching the trigger
OnStartTouchAll
When all of the entities are touching the trigger
OnStopTouch
When an entity has stopped touching the trigger
OnStopTouchEndAll
When there are no entities touching this trigger
OnTouching
When an entity is touching a trigger
OnVotePassed
When the vote has passed
OnVoteFailed
When the vote has failed
OnRadioCreate
When someone creates a radio styled voting
OnRadioVote
When someone votes when radio styled voting is enabled
OnSprayCreation
When the player tries to spray
OnSprayFound
When the player finds a spray
OnPlayerDamage
When the player gets damaged
OnPlayerDeath
When the player dies
OnCommand
When the player, or the server, executes an AS console command
Say
When the player writes in the chat
CurrentRound
When the round starts
LastRound
When the round starts (if we are on the last round)
HalfTime
When the round starts (If we are on halftime round)
RoundTimer
Called on each frame
RoundWin
When the round ends
BarricadePlacement
When a barricade has been placed down

Note: This hook is only available if Engine.EnableCustomSettings is set to true, and it must return as HOOK_HANDLED.
WeaponDamage
When the weapon does damage, or being fired.

Note: This hook is only available if Engine.EnableCustomSettings is set to true.
OnEntityCreation
When the entity gets created
OnEntityDestruction
When the entity gets destroyed