Summary

Hooks

Called after Catwork has loaded the map entities; spawns the saved emplacement guns.
Spawns the emplacement guns saved for the current map, each on a new frozen barricade.
Called after data is saved; saves the emplacement guns.
Saves the position and angles of every cw_emplacementgun on the map to the schema data.

Hooks

PLUGIN:ClockworkInitPostEntity()

server gamemodes/cwhl2rp/plugins/emplacementgun/plugin/sv_hooks.lua:7

Implements hook ClockworkInitPostEntity

Called after Catwork has loaded the map entities; spawns the saved emplacement guns.

Spawns the emplacement guns saved for the current map, each on a new frozen barricade.

Implements hook PostSaveData

Called after data is saved; saves the emplacement guns.

Saves the position and angles of every cw_emplacementgun on the map to the schema data.

Writes plugins/emplacementGuns/<map>.

Defined in