1
2
3
4
2
3
4
elseif string.sub(txt,1,5)=="!kick" then 	local kickid=tonumber(string.sub(txt,7,8)) 	kick(kickid) end
Why?
in console is
LUA ERROR: attempt to call a nil value
why?
elseif string.sub(txt,1,5)=="!kick" then 	local kickid=tonumber(string.sub(txt,7,8)) 	kick(kickid) end
kick(kick,id)
addhook('say','say_hook') function say_hook(id,txt) if string.sub(txt,1,6)=="!kick " then parse('kick '..(math.floor(string.sub(txt,7,8)))..' "Kick By Admin"') end end
if string.sub(txt,1,6)=="!kick " then parse('kick '..(math.floor(string.sub(txt,7,8)))..' "Kick By Admin"') end