Command to make ALL players run the command

Same as title.
Kind of like cexec but works on all.

um? just do

function lol(ply, cmd, args)
ply:ConCommand("’…args[1]…’")
end
concommand.Add(“runcmd”, lol)

put it in server? idk it’s simple.



function Exec_All(ply, command )
for k,v in pairs(player.GetAll()) do
   v:ConCommand( command );
end
end




function Console_exec_all( ply, cmd, args )
for k,v in pairs(player.GetAll()) do
      v:ConCommand( args[1] );
end
end
concommand.Add("exec_all", Console_exec_all )