Lares
Member
- Joined
- Feb 8, 2010
- Messages
- 315
- Reaction score
- 7
Hello i have small problem with function doItemSetAttribute
i use:
And when i create item i have all time armor 10 how i can change armor 10->30
i use:
Lua:
function onSay(cid, words, param, channel)
local item_wyjsciowy = 2471
local bonus = 30
nagroda = doCreateItemEx(cid, item_wyjsciowy)
doItemSetAttribute(nagroda, "armor", 30)
return true
end
And when i create item i have all time armor 10 how i can change armor 10->30
Last edited: