Hooks hooks
Part of Areas API
Hooks called by Areas API
Summary
Hooks
Called on both realms once the schema has loaded.
Called when a player enters an area of the
area type.Called when a player leaves an area of the
area type.Hooks
Called on both realms once the schema has loaded. Add modes to the Area Tool here with
mode_list:Add(mode), where a mode is a table with a title, the area type it creates,
its convars and its click handlers.
Parameters
- mode_list Map The
Area.tool_modestable
Called from
Call sites
Called when a player enters an area of the area type. Runs on the server and on
the client of that player.
Parameters
- actor Player The player who has entered the area
- area Map The area table
- cur_time Number CurTime() of the check
Call sites
Called when a player leaves an area of the area type. Runs on the server and on
the client of that player.
Parameters
- actor Player The player who has left the area
- area Map The area table
- cur_time Number CurTime() of the check