Postado Janeiro 30, 2013 12 anos Gostei. Já estou utilizando no meu server. http://otservlist.org/html/signatures/1416722_2.png
Postado Outubro 15, 2014 10 anos Alguem sabe porque ele não elimina a soft usada? Venha jogar > infernal-global.com < 24hrs , TeamSpeak3 Entre outros entrem e confiram. <center><a href="http://www.otpanel.com/painel/aff.php?aff=102"><img src="http://www.otpanel.com/wp-content/uploads/2015/11/Hospedado-por-claro1.png" title="Hospedado por ServerSoft"> </a></center><center><a href="http://www.otpanel.com/painel/aff.php?aff=102"><img src="http://www.otpanel.com/wp-content/uploads/2015/11/Hospedado-por-claro1.png" title="Hospedado por ServerSoft"> </a></center>
Postado Maio 29, 2016 9 anos Bom eu não sei edita, mas esta ae o talkaction que carrega a soft e a firewalker. pq o talkaction do Renato ae, esta é criando uma soft nova e nao carregando. --talkactions.xml <talkaction words="!soft" event="script" value="soft.lua"/> <talkaction words="!firewalker" event="script" value="firewalker.lua"/> ----------------------------------------------------------------------------------------------------------- --Script --Soft function onSay(cid, words, param, channel) local k = getPlayerItemById(cid, true, 10021).uid if k == 0 then doCreatureSay(cid, 'You don\'t have worn Soft Boots.', TALKTYPE_ORANGE_1, false, cid) elseif not doPlayerRemoveMoney(cid, 10000) then doCreatureSay(cid, 'You don\'t have enough money.', TALKTYPE_ORANGE_1, false, cid) else doCreatureSay(cid, 'You refilled your Soft Boots.', TALKTYPE_ORANGE_1, false, cid) doTransformItem(k, 6132) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_GREEN) return true end return doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) end -------------------------------------------------------------------------------------------------------------- --Firewalker function onSay(cid, words, param, channel) local k = getPlayerItemById(cid, true, 10022).uid if k == 0 then doCreatureSay(cid, 'You don\'t have worn Firewalker Boots.', TALKTYPE_ORANGE_1, false, cid) elseif not doPlayerRemoveMoney(cid, 10000) then doCreatureSay(cid, 'You don\'t have enough money.', TALKTYPE_ORANGE_1, false, cid) else doCreatureSay(cid, 'You refilled your Firewalker Boots.', TALKTYPE_ORANGE_1, false, cid) doTransformItem(k, 9933) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_GREEN) return true end return doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) end
Postado Junho 1, 2016 9 anos Renato, nunca entendi muito bem isso mais é assim? Cria um arquivo lua com o nome soft.lua, copia e cola tudo que você enviou? function onSay (cid, words, param, channel) local preco = 10000 -- gold coins local wornId = yyyy -- id da worn soft boots, bota descarregada local newId = xxxx -- id da nova soft boots, bota carregada if getPlayerItemCount(cid, wornId) >= 1 and getPlayerMoney(cid) >= preco then doSendMagicEffect(getPlayerPosition(cid), 12) doPlayerRemoveItem(cid, wornId) doPlayerAddItem(cid, newId) doPlayerRemoveMoney(cid, preco) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você recarregou sua soft por "..preco.." gps.") else doSendMagicEffect(getPlayerPosition(cid), 2) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não tem "..preco.." gps ou uma worn soft boots para poder recarregar.") return TRUE end end[/code] [color=#FF0000][b]Atenção![/b][/color] Aqui nestes dois locais: [i] local wornId = [color=#800080]yyyy[/color] local newId = [color=#000080]xxxx[/color][/i] Troque o [color=#800080]yyyy[/color] pelo ID da worn soft boots (descarregada) e o [color=#000080]xxxx[/color] pelo ID da soft boots (carregada). [b]• Depois em [color=#0000FF]data/talkactions/talkactions.xml[/color] ponha a tag em qualquer lugar:[/b] <talkaction log="yes" words="!soft" access="0" event="script" value="soft.lua">
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.