kimokimo
Kimo
Hi
i got this script
and here is the xml line
and here is the part in the lib KOH_crownAID_UID = 57640
but the problem is players can move the crown is there anything wrong in the script?
i got this script
PHP:
function onRemoveItem(moveItem, tileItem, position, cid)
if(isPlayer(cid) and item.uid == KOH_crownAID_UID) then
--KOH_playerPickCrown(cid)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "cant pick/move crown")
return false
end
return true
end
and here is the xml line
PHP:
<movevent type="removeitem" actionid="57640" event="script" value="koh/koh_onremovecrown.lua"/>
and here is the part in the lib KOH_crownAID_UID = 57640
but the problem is players can move the crown is there anything wrong in the script?