1
menu(id,"Mute a Player- 1/2,"..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"name")..","..player(id,"name")..",Next")
menu(id,"Mute a Player- 1/2,"..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"exists")..","..player(id,"name")..","..player(id,"name")..",Next")
local players = "Menu name" for _,v in pairs(player(0, "table")) do 	players = players..","..player(v,"name") end
menu(id,"Mute a Player- 1/2,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next")
LUA ERROR: maps/as_mars.lua:123: attempt to index global 'name' (a nil value)
function initArray(m) 	local array = {} 	for i = 1, m do 		array[i]="0" 	end 	return array end name = initArray(32) addhook("serveraction","Deutsches_Wort") function Deutsches_Wort(id,b) 	for p=1,#player(0, "table") do 		if player(p,"exists")==true then 			name[p]=player(p,"name") 		end 	end 	menu(id,"Mute a Player- 1/2,"..name[1]..","..name[2]..","..name[3]..","..name[4]..","..name[5]..","..name[6]..","..name[7]..","..name[8]..",Next") -- Untested
name = {"0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"}
name = {"0","0","0","0","Name1","0","0","0","Name2","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0"}
menu(id,"Mute a Player- 1/2,0,0,0,0,Name1,0,0,0,0,Next")
for x=1,#player(0, "table") do if name[x]~="0" then