Ir para conteúdo

Featured Replies

Resolvido por Rusherzin

Ir para solução
  • Respostas 6
  • Visualizações 879
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Botei duas mensagens, uma quando pegar pela primeira vez, e, outra quando ele tentar pegar novamente.. function onUse(cid) local storage = 88888 if getPlayerStorageValue(cid, storage) ~= 1 th

  • actions.xml <action actionid="9595" script="baustorage.lua"/> baustorage.lua function onUse(cid) local storage = 88888 if getPlayerStorageValue(cid, storage) ~= 1 then doPlayerSet

  • Desculpa, erro meu.. local storage = 88888 if getPlayerStorageValue(cid, storage) ~= 1 then doPlayerSetStorageValue(cid, storage, 1) end return TRUE end

Postado

actions.xml

	<action actionid="9595" script="baustorage.lua"/>	

baustorage.lua

    function onUse(cid)

local storage = 88888

	if getPlayerStorageValue(cid, storage) ~= 1 then
	doPlayerSetStorageValue(cid, storage, 1)
	end
return TRUE
end

Se quiser alguma edição ou estiver com alguma dúvida, avisa..

Editado por Rusherzin (veja o histórico de edições)

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Postado
  • Autor

 

actions.xml

	<action actionid="9595" script="baustorage.lua"/>	

baustorage.lua

    function onUse(cid)

local storage = 88888

	if GetPlayerStorageValue(cid, storage) ~= 1 then
	doPlayerSetStorageValue(cid, storage, 1)
	end
return TRUE
end

Se quiser alguma edição ou estiver com alguma dúvida, avisa..

 

 

está dando esse error:

 

2l8e0eu.png

Oi

Postado

Desculpa, erro meu..

local storage = 88888

	if getPlayerStorageValue(cid, storage) ~= 1 then
	doPlayerSetStorageValue(cid, storage, 1)
	end
return TRUE
end

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Postado
  • Autor

 

Desculpa, erro meu..

local storage = 88888

	if getPlayerStorageValue(cid, storage) ~= 1 then
	doPlayerSetStorageValue(cid, storage, 1)
	end
return TRUE
end

 

Funcionou perfeitamente, teria como quando clicar no baú aparecer uma mensagem? "Parabéns, você derrotou o boss e ganhou sua aura."

Oi

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.7k

Informação Importante

Confirmação de Termo