1
if player(i,"speedmood") < -10 then
gives error
LUA ERROR: sys/lua/anti speedhack.lua:130: attempt to compare boolean with number
i would guess its cause i doesent exist and it returns false right?
now the problem is i exists cause
1
2
3
4
2
3
4
if player(i,"exists") then if player(i,"speedmood") < -10 then end end
(that is only a piece of my code, but its pretty much same thing)
now can anyone say why "player(i,"speedmood")"
gives error
i need this to get my antispeedhacking lua that actually supports teleporters to work

edit: oh wait.... lol 2 "o" in speedmod thats wrong... my fail.. lol
edited 1×, last 05.06.11 12:23:37 pm