How do I change TTT models at the start of each round?
Go back

How do I change TTT models every round?

Figuring out how to change models without knowing lua can be frustrating, thankfully developers at Physgun have you covered, below will be a simple and easy method of changing the models of every player, also including an easy to read config built in:

-- You'll need to put this here /garrysmod/addons/your_addon/lua/autorun/whatever.lua
local TTTPlayermodels = {
  "models/player/phoenix.mdl",
  "models/player/arctic.mdl",
  "models/player/guerilla.mdl",
  "models/player/leet.mdl"
}

hook.Add("TTTPlayerSetColor", "RandomPlayerModel", function(ply)
  ply:SetModel(table.Random(TTTPlayermodels))
end)

Hit top of the serverlists today

With low ping, top tier hardware, and our powerful panel, there's nothing stopping you from rocketing to the top with Physgun

Get started