-snip problem was solved but I still have another-
Okay, so how would I make
function GM:PlayerSpawn(ply) if HasCalledFunc == true then ply:KillSilent() else ply:SetTeam(TEAM_HUMAN) ply:SetModel( table.Random( humanpms ) ) ply:SetupHands() end end
more specifically the if statement, get called only once? This code just repeatedly kills the player and makes them a spectator… What would I do to make them get killed only once?