What am I doing wrong?
Mystic Spirit 0.2.15
Mystic Spirit 0.2.15
Code:
if getCreatureTarget(cid) == nil then
setPlayerStorageValue(cid, 10000, 0)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,"You have no target!")
else
setPlayerStorageValue(cid, 10000, 1)
end
Last edited: