1
2
3
4
5
6
7
2
3
4
5
6
7
zm_class_name = {"Classic Zombie (none)","Classic Zombie","Raptor Zombie","Poison Zombie","Fat Zombie","Leech Zombie","Big Zombie","Big & Fat Zombie","Runner Zombie","Nemesis"} function Classzm(id) menu(id,"Zombie Class (HP/Speed/Kockback),"..zm_class_name[2].."|=Balanced=,"..zm_class_name[3].."|"..zm_health_lvl[3].."/"..zm_speed_lvl[3].."/"..12.5*zm_knock_lvl[3].."%,"..zm_class_name[4].."|"..zm_health_lvl[4].."/"..zm_speed_lvl[4].."/"..12.5*zm_knock_lvl[4].."%,"..zm_class_name[5].."|"..zm_health_lvl[5].."/"..zm_speed_lvl[5].."/"..12.5*zm_knock_lvl[5].."%,"..zm_class_name[6].."|"..zm_health_lvl[6].."/"..zm_speed_lvl[6].."/"..12.5*zm_knock_lvl[6]..","..zm_class_name[7].."|"..zm_health_lvl[7].."/"..zm_speed_lvl[7].."/"..12.5*zm_knock_lvl[7].."%,"..zm_class_name[8].."|"..zm_health_lvl[8].."/"..zm_speed_lvl[8].."/"..12.5*zm_knock_lvl[8].."%,"..zm_class_name[9].."|"..zm_health_lvl[9].."/"..zm_speed_lvl[9].."/"..12.5*zm_knock_lvl[9].."%") end LUA Error: sys/lua/ZombiePlagueV1/server.lua:6: attempt to perform arithmetic on field '?'(a nil value)