Sportacus
Intermediate OT User
- Joined
- Aug 3, 2008
- Messages
- 718
- Reaction score
- 104
I have no idea why, but this script is causing players to debug.. they still get the item, but obviously I don't them to debug to get it.
Can anyone explain to me why this is causing a debug? Using 0.4 rev 4372..
PHP:
function onUse(cid, item, frompos, item2, topos)
if getPlayerStorageValue(cid, 7612) == -1 then
setPlayerStorageValue(cid, 7612, 1)
doPlayerSendTextMessage(cid,25,"You have found a piece of a broken amulet.")
doPlayerAddItem(cid, 8263, 1)
else
doPlayerSendTextMessage(cid,25,"There is nothing there")
end
return TRUE
end
Can anyone explain to me why this is causing a debug? Using 0.4 rev 4372..