Gosu - 2008-08-23 00:08:36

Wiec Zamieszczam Tutaj Przydatny Skrypcik. Dziala on tak ze zamiast wkurzajacego napisu "you change 100 gold coin to 1 platinum coin" Bedzie ikonka Dolara. Kolor Tych odlarow zalezy od tego jaka monete zamieniamy. Dolary widzi kazdy wokol nas. No to jedziemy:

W Pliku Gold Wstawiamy Taka Akcje:

Kod:

--Change Gold By Gosu--
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2969 and item.type == 100 then
doSendAnimatedText(frompos,"$$",30);
doRemoveItem(item.uid,item.type)
doPlayerAddItem(cid,2973,1)
elseif item.itemid == 2969 and item.type < 100 then
end
end

W Pliku Platinum:

Kod:

--Change Gold By Gosu--
function onUse(cid, item, frompos, item2, topos)
if item.itemid == 2973 and item.type == 100 then
doSendAnimatedText(frompos,"$$$",30);
doRemoveItem(item.uid,item.type)
doPlayerAddItem(cid,2981,1)
elseif item.itemid == 2973 and item.type < 100 then
doSendAnimatedText(frompos,"$",30);
doRemoveItem(item.uid,1)
doPlayerAddItem(cid,2969,100)
end
end

W Pliku Crystal:

Kod:

--Change Gold By Gosu--
function onUse(cid, item, frompos, item2, topos)
if doRemoveItem(item.uid,1) then
doSendAnimatedText(frompos,"$$",30);
doPlayerAddItem(cid,2973,100)
end
end

I oto cala tajemnica :p

www.grafamargo.pun.pl www.narutogamer.pun.pl www.manager-ekstraklasa.pun.pl www.dragonballzgra.pun.pl www.yourninjaway.pun.pl