Summary

Hooks

Called after Catwork has loaded the map entities; restores the saved Combine devices.
Spawns the Combine devices saved for the current map, frozen in place.
Called after data is saved; saves the Combine devices.
Saves the Combine devices on the map to the schema data.

Hooks

PLUGIN:ClockworkInitPostEntity()

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

Implements hook ClockworkInitPostEntity

Called after Catwork has loaded the map entities; restores the saved Combine devices.

Spawns the Combine devices saved for the current map, frozen in place.

Restores the access monitors' texts, access level and status and the terminals' locked state.

Implements hook PostSaveData

Called after data is saved; saves the Combine devices.

Saves the Combine devices on the map to the schema data.

Writes access monitors (with their texts, access level and status), hl2_info_citizen and hl2_info_card terminals (with their locked state) and hl2_combinemonitor screens to separate files under plugins/combinedevices/ for the current map.

Defined in