tibiarl
Active User
- Joined
- Feb 3, 2010
- Messages
- 142
- Reaction score
- 1
taki jest m?j kod:
pytanie brzmi, jak zrobi? ?eby druid i elder druid m?g? odebra? nagrod? ???
unction onUse(cid, item, frompos, item2, topos)
if getPlayerVocation(cid) == 2 then
if getPlayerLevel(cid) < 500 then
doPlayerSendTextMessage(cid,22,"Nie da rady otworzyc za malo doswiadczenia.")
else
if item.uid == 7014 then
local queststatus = getPlayerStorageValue(cid,7014)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Darmowa Kasa, super VIP, Bron.")
doPlayerAddItem(cid,2160,300)
doPlayerAddItem(cid,12621,1)
setPlayerStorageValue(cid,7014,1)
else
doPlayerSendTextMessage(cid,22,"Patrzysz ... Nic nie ma ku***aaaa.")
end
else
return 0
end
return 1
end
return 1
else
doPlayerSendTextMessage(cid,22,"Tylko Druid moze to otworzyc.")
end
return 1
end
pytanie brzmi, jak zrobi? ?eby druid i elder druid m?g? odebra? nagrod? ???