Hello,
If I say: 12 bat wings have console warning: Item not found.
If say: 12 bat wing - all working good.
How remove console error?
This is my line to this "IF"
If I say: 12 bat wings have console warning: Item not found.
If say: 12 bat wing - all working good.
How remove console error?
This is my line to this "IF"
Lua:
local item = getItemIdByName(t[2])
if(not item) then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item wich such name does not exists.")
return true
end