• 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!

TFS 1.X+ Tfs 1.3 8.6 debug when player bug a golden outfit for 1kkk (a lot of money, debug a player)

roriscrave

Advanced OT User
Joined
Dec 7, 2011
Messages
1,188
Solutions
34
Reaction score
200
if i use this code, if player have money he get debug (and money are removed), i think because the money is a very high value, how can i solve this dbeug?

Lua:
local coinsNeed = 100000

function onUse(player, item, fromPosition, target, toPosition, isHotkey)
    if player:removeItem(2160, coinsNeed) then
        -- add golden outfit
    end
   
    return true
end

Debug error:
 
Back
Top