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

Simple script causing player debug..

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.


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..
 
Back
Top