Pening
Pingwin :P
Hi
I want add one more storagevalue but I don't know how add to other uniqueid
I want add one more storagevalue but I don't know how add to other uniqueid
Code:
local itemUniqueIds = {12901, 12902, 12903, 12904, 12905}
function onUse(cid, item, fromPosition, itemEx, toPosition)
for i = 1, #itemUniqueIds do
if item.uid == itemUniqueIds[i] then
setPlayerStorageValue(cid, 12538, i)
else
doPlayerSendCancel(cid, text)
end
end
end
return TRUE
end