line 19
1
for i,v in ipairs unlocked_classes do
Scripts
Lua Scripts/Questions/Helpfor i,v in ipairs unlocked_classes do
for i,v in ipairs unlocked_classes do
or just add the parenthesis that i forgotfor i,v in ipairs(unlocked_classes) do

function openzmenu(id) 	local menu_buttons = "Regular Zombie" --Regular zombie unlocked by default 	if(unlocked_classes[1]==true) then --if 1st class unlocked 		menu_buttons = menu_buttons..",Fast Zombie" 		if(unlocked_classes[2]==true) then 			menu_buttons = menu_buttons..",Über Zombie" 		end 	end end

totalt = 0 totalct = 0 totalspec = 0 	for i=1,32,1 do 		if (player(i,"exists")==true) then 			if (player(i,"team")==1) then totalt = totalt+1 else 	 	if (player(i,"team")==2) then totalct = totalct+1 else 	 	if (player(i,"team")==0) then totalspec = totalspec+1
if (totalt==0) then XXXXXXXXX end
addhook("hit","hitpowup")
function hitpowup(id,source,weapon,hpdmg,apdmg)
	if (id==X) then
	if (weapon==WEAPONID) then
hpdmg = hpdmg+X --x = you decide!
apdmg = apdmg+X --x = your election!
	end
	end
		end