Erevius
It Was A Good Day
I want my NPC to remove an item with action id (eg. 1000) from player.
Avesta doesn't have getItemDescriptions(uid) function. I tried with smth like this:
But the 'if' always returns false.
I tried to replace ".actionid" with ".aid" but it still returns false...
Do I have to implement another function to my server by C++?
Avesta doesn't have getItemDescriptions(uid) function. I tried with smth like this:
Code:
if(getPlayerItemById(cid, true, 1955) and getPlayerItemById(cid, true, 1955).actionid == 10018) then
doPlayerRemoveItem(cid, 1955, 1)
end
But the 'if' always returns false.
I tried to replace ".actionid" with ".aid" but it still returns false...
Do I have to implement another function to my server by C++?