Garry's Mod Wiki

Revision Difference

gmod.GetGamemode#567591

<function name="GetGamemode" parent="gmod" type="libraryfunc"> <description>Returns <page>GAMEMODE</page> table. You will want to wait until <page>GM:OnGamemodeLoaded</page> for it to return a valid value. </description> <realm>Shared</realm> <rets> <ret name="" type="table{GM}">The `GAMEMODE` table..</ret> <ret name="" type="table{GM}">The `GAMEMODE` table.</ret> </rets> </function>