Garry's Mod Wiki

Revision Difference

gmod.GetGamemode#567586

<function name="GetGamemode" parent="gmod" type="libraryfunc"> <description>Returns <page>GAMEMODE</page>.</description>⤶ <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}">GAMEMODE.</ret> <ret name="" type="table{GM}">The `GAMEMODE` table..</ret> </rets> </function>