PHP:
function onStepIn(cid, item, position, fromPosition)
if getPlayerStorageValue(cid, CONFIG[item.actionid].storage) == -1 then
doPlayerSendTextMessage(cid, 22, "Pokonales " .. CONFIG[item.actionid].seal .. "\'s i absorbowales czesc jego energii.")
setPlayerStorageValue(cid, CONFIG[item.actionid].storage, 1)
else
doPlayerSendTextMessage(cid, 22, "Obecnie zaliczyles " .. CONFIG[item.actionid].seal .. "\'s i absorbowales czesc jego energii.")
end
return TRUE
end
In console I have that error:
[15/11/2010 17:26:33] [Error - MoveEvents Interface]
[15/11/2010 17:26:33] data/movements/scripts/inq_bossowie.luanStepIn
[15/11/2010 17:26:33] Description:
[15/11/2010 17:26:33] (luaDoPlayerSendTextMessage) Player not found
What wrong's here? Please help.