Hey, I wrote this piece of code and it keeps bugging me with errors, when I seem to fix one I get another, so I dont see a point posting them all here, but Id appreciate it if you’d edit my code to be error-less.
function GM:PlayerLoadout( ply ) --Sent to the players on teams. (Technically everybody is on the Joining/Connecting team of what ever if there isn't a team in your gamemode.)
ply:SetGravity( 1.00 )
ply:SetMaxHealth( 200, true )
ply:SetWalkSpeed( 125 )
ply:SetRunSpeed( 175 )
if ply:Team() == 1 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 2 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 3 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 4 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 5 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 6 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 7 then
ply:Give( "Combo-Fists" )
elseif ply:Team() == 8 then
ply:Give( "Combo-Fists" )
end --end if statement
end --end function
Thanks in advance!