G.DeriveGamemode

From GMod Wiki

Jump to: navigation, search
Function
Syntax DeriveGamemode( String GamemodeName )
Where is this used?
Description:
Instructs Garry's Mod to derive the current gamemode from the gamemode named GamemodeName
Returns: nil
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.DeriveGamemode]G.DeriveGamemode [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionDerives the current gamemode from the Sandbox gamemode. (All Sandbox functionality will be available)
Used onNewerShared.png
Code
DeriveGamemode("sandbox")
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox