Garry's Mod Wiki

Revision Difference

SANDBOX_Hooks#512806

<cat>Ref.Hook</cat>⤶ ⤶ ⤶ This is a list of hooks that are only available in Sandbox or Sandbox derived gamemodes.⤶ ⤶ Easiest way to tell if a gamemode is Sandbox derived is to check if this variable exists:⤶ ⤶ ```⤶ -- Replace GAMEMODE with GM if you are in gamemode files.⤶ if ( GAMEMODE.IsSandboxDerived ) then⤶ -- Do stuff⤶ end⤶ ```⤶