1
if (player(id,'team')==1 and sv_gamemode==4) then zombie[id]=1 end
Help me plz
if (player(id,'team')==1 and sv_gamemode==4) then zombie[id]=1 end
zombie = {} addhook("team","zombie_check") function zombie_check(team,id) 	if team==1 then 		zombie[id]=1 	else 		return 0 	end end
zombie[id]=0
game("sv_gamemode")
if game("sv_gamemode")==4 then msg("©255255000Testing gamemode, 4") end
msg("©255255000Testing.GM."..game("sv_gamemode"))
if game("sv_gamemode")==2 then msg("©255255000Testing.If.GM.2") end
if game("sv_gamemode")=="Zombies!" then msg("©255255000Testing gamemode, 4") end
print(type(game("sv_gamemode"))) -- string (I think) print(type(tonumber(game("sv_gamemode")))) -- number
if game("sv_gamemode")=="4" then msg("©255255000Testing gamemode, 4") end
if tonumber(game("sv_gamemode"))==4 then msg("©255255000Testing gamemode, 4") end