SlashCo Wiki

SlashCo.SetupLanOverrides

  SlashCo.SetupLanOverrides()

Description

Called when a game is hosted with sv_lan 1 to setup proper -multirun support for development and testing

Using sv_lan we can use -multirun and join the game with multiple gmod instances,
but now we have to ensure that they won't use the same steamid's.
Right now we change these function and we add the userid to allow for multiple multirun instances to work without colliding with each other.

  • PLAYER:SteamID()
  • PLAYER:SteamID64()
  • PLAYER:OwnerSteamID64()
  • PLAYER:UniqueID()