garrysmod
garrysmod copied to clipboard
Team Module Update
This adds basic object oriented support to the team module. You can call team.Register to register a team object with custom logic/extensions. If you want the old behavior, you can use team.SetUp.
The module should close this Facepunch/garrysmod-requests#101
You can use ipairs
(or for i = 1, #length
) instead of pairs
in some loop (lines 266, 278, 290).
Not sure why do you need have a pl
local outside the loop. Won't matter much, just a note