Garry's Mod Wiki

Revision Difference

GM:ShutDown#527651

<function name="ShutDown" parent="GM" type="hook"> <ishook>yes</ishook> <description>Called whenever the Lua environment is about to be shut down, for example on map change, or when the server is going to shut down.</description>⤶ <description>Called whenever the Lua environment is about to be shut down, for example on map change, or when the server is going to shut down.<warning><page>Player:SteamID</page>, <page>Player:SteamID64</page>, and the like will return nil for the listen host here but work fine for other players.</warning>⤶ </description>⤶ <realm>Shared</realm> <predicted>No</predicted> </function>