= "" ?
= ""
local v1 = 8926
local desc = getItemDescriptions(item.uid).special
if getPlayerItemCount(cid, v1) >= 1 then
local item = getPlayerItemById(cid, true, v1)
local name = getItemDescriptions(item.uid).name
if (desc == "" ) then
doPlayerSendTextMessage(cid,22,"Item found.")
doRemoveItem(item.uid, 1)
end
end
with me dont work
I use.
Code:local v1 = 8926 local desc = getItemDescriptions(item.uid).special if getPlayerItemCount(cid, v1) >= 1 then local item = getPlayerItemById(cid, true, v1) local name = getItemDescriptions(item.uid).name if (desc == "" ) then doPlayerSendTextMessage(cid,22,"Item found.") doRemoveItem(item.uid, 1) end end