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?
Debug error:
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: