Server-side hooks of the Combine Chatter plugin that play a random Overwatch radio voice line from a Combine player every 30 to 50 seconds.

OneSecond runs a single timer shared by all Combine players and picks one living Combine player at random per interval, and PLUGIN:EmitRandomChatter picks the sound from the local randomSounds list.

Summary

Hooks

Plays a random Overwatch radio line from the player.
Called every second; plays random radio chatter from a Combine player every 30 to 50 seconds.

Hooks

PLUGIN:EmitRandomChatter(player)

server gamemodes/cwhl2rp/plugins/combinechatter/plugin/sv_hooks.lua:37

Plays a random Overwatch radio line from the player.

Parameters

  • player Player The player the sound is emitted from

Implements hook OneSecond

Called every second; plays random radio chatter from a Combine player every 30 to 50 seconds.

A single timer is shared by all Combine players, and one living Combine player is picked at random each time it runs out.

Defined in