Narwhal:Hooks

From GMod Wiki

Jump to: navigation, search
G Blue.png Go to:
Narwhal Functions

Since Narwhal has the ability to derive from any gamemode of your choosing, it has very few gamemode hooks to ensure that conflict is kept to a minimum. Instead, everything that would usually be in the GM table is in a metatable called NARWHAL which directs all indexes to a field in the gamemode table to ensure multiple Narwhal derivatives inherit properly.



Narwhal Hooks

These only work in the Narwhal Gamemode Base.

Shared

NewerShared.png IsNarwhalGamemode
NewerShared.png LoadNetworkConfigurations
NewerShared.png ForceTheme
NewerShared.png ThemeChanged

Server

Client

Deletion.pngThis page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here.
Reason for deletion: Not what Garry wants the wiki to be used for
Last Edit was made on 10/05/2010
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox