I get an error when i run my gamemode:
line: 57: function arguments expected near “jugger”
line 55: function GM:OnRoundStart( )
line 56: lenght = table:Lenght
line 57: jugger = table[random(lenght) + 1]
line 58: jugger:SetClass ( CLASS_JUGGERNAUT )
line 59: end
I want it select a random player and make him the class juggernaut.
“table” is a table in which all players on the server are added.
It would help me a lot if someone could help me.