Well, there's actually a silent kill feature in Gmod Lua -Player:KillSilent()("Kills a player without notifying the rest of the server.") Here's the code:
Code:
for k, v in pairs( player.GetAll() ) do v:KillSilent() end
This will kill all of players on your server silently. Make sure you're running this on serverside of course
Another example, this code will kill everyone except described player namesthis time:
Code:
local killless = {}
-- Each line for each player you don't want to silently kill killless["full player name here"] = true
for k, v in pairs( player.GetAll() ) do -- Check if this player is on our non-killing list. -- If it is - then pass this loop if killless[v:Name()] == true then continue end