KungAndPatryk
New Member
- Joined
- Jan 16, 2009
- Messages
- 65
- Reaction score
- 0
Witam Znalazlem Skrypt na Fontane Dającom Addon ale nie wiem co dodac do Actons.xml to skrypt na fontane
Code:
function onUse(cid, item, frompos, item2, topos)
local quest = getPlayerStorageValue(cid,5000)
local value = 5000 -- to ma sie rownac temu ^
if (quest == -1) then
doPlayerAddOutfit(cid, 128, 1)
doPlayerAddOutfit(cid, 136, 1)
doPlayerSendTextMessage(cid,19,"You have found both addons!")
setPlayerStorageValue(cid,value,1)
else
doPlayerSendCancel(cid,"You arledy have this addons.")
end
end