
xitajy
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
xitajy recebeu reputação de lokones em [AJUDA]Como coloco fast attack no meu servero coloca multiplos de 500 tipo 500 1000 1500
-
xitajy deu reputação a BetterWar ATS em [Actions] Novo gold--Buy Jeff local coins = { [2148] = { to = 2152, effect = 210 }, [2152] = { from = 2148, to = 2160, effect = 130 }, [2160] = { from = 2152, to = 9971, effect = 65 }, [2157] = { from = 2160, effect = 198 } } function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerFlagValue(cid, PLAYERFLAG_CANNOTPICKUPITEM)) then return false end local coin = coins[item.itemid] if(not coin) then return false end if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, coin.to, 1) doSendAnimatedText(fromPosition, "+ $$$", coins[coin.to].effect) elseif(coin.from ~= nil) then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX) doSendAnimatedText(fromPosition, "- $$$", coins[coin.from].effect) end return true end Pra quem esta com problema neste script basta substituir por este...
fica em action/scripts/other/changegold, algo assim... Mas eh changegold.lua