ogi3434
New User
- Joined
- Apr 19, 2009
- Messages
- 9
- Reaction score
- 0
Szuka?em po necie i znalaz?em takie co?
function onUse(cid, item, frompos, item2, topos)
f item.uid == 1002 then
queststatus = getPlayerStorageValue(cid,1002)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Znalazles plaszcz.")
doPlayerAddItem(cid,2651,1)
doSendMagicEffect(topos,55)
setPlayerStorageValue(cid,1002,1)
else
doPlayerSendTextMessage(cid,22,"Ta skrzynia jest pusta.")
end
else
return 0
end
return 1
end
<action itemid="1002" script="test.lua" />
Tylko nic tu nie jest wyt?umaczone
M?g?by mi kto? wyt?umaczy? co gdzie wpisywa? ?
function onUse(cid, item, frompos, item2, topos)
f item.uid == 1002 then
queststatus = getPlayerStorageValue(cid,1002)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Znalazles plaszcz.")
doPlayerAddItem(cid,2651,1)
doSendMagicEffect(topos,55)
setPlayerStorageValue(cid,1002,1)
else
doPlayerSendTextMessage(cid,22,"Ta skrzynia jest pusta.")
end
else
return 0
end
return 1
end
<action itemid="1002" script="test.lua" />
Tylko nic tu nie jest wyt?umaczone
M?g?by mi kto? wyt?umaczy? co gdzie wpisywa? ?