• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua :attempt to compare boolean with number?

booleans are true and false
numbers are... numbers

this error occurs when the script is trying to compare those 2, for example:
Lua:
if true > 6 then
or
Lua:
 if 200 <= false
you get the idea.
 
How do I fix this?
I get an error on line 39 of my script which is this

Code:
if getPlayerStorageValue(deathList[killer],kills) < 1 then
 
It's part of ctf_death script which I can't get to work, when they die by the opposite team, they go to the temple and I want them to go the their team side.
But, when I use the command /attr health 99999999999999 on the player, they go to the right place but they keeping going to it over and over because they have 0 health constantly.
 
Back
Top