Coca Cola
New Member
- Joined
- Apr 10, 2010
- Messages
- 164
- Reaction score
- 0
what is wrong?
someboy could pls make a script onadvance to me?
it works like this > when player ups +1 fist fighting he's attackspeed will be +0.3
ty,cya
Lua:
function onUse(cid, item, frompos, item2, topos)
if item.uid == 25000 then
queststatus = getPlayerStorageValue(cid,8905)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found an Rainbow Shield.")
doPlayerAddItem(cid,8905,1)
doItemSetAttribute(uid, "description", "refinado(def+27)Este item foi obtido por " .. getCreatureName(cid) .. ".")
doItemSetAttribute(cid,"defense",57)
setPlayerStorageValue(cid,8905,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
someboy could pls make a script onadvance to me?
it works like this > when player ups +1 fist fighting he's attackspeed will be +0.3
ty,cya
Last edited: