Jump to content
Sign in to follow this  
Aeglon

Remover Itens Source

Recommended Posts

Please login or register to see this code.

 

como faço para remover o item x na source???  A ideia é ver se o jogador tem o item X e remover 1 caso contrario. Se ele não tiver nada.... return! 

Alguma ajuda...

Share this post


Link to post
Share on other sites

Não precias de fazer em src podes fazer em quest 

quest :

quest nome begin

    state start begin

           when login begin

                        if pc.get_count(iditem) > 0 then

                                  pc.remove_item(iditem,1)

                       end

       end

end

Share this post


Link to post
Share on other sites

Podes colocar debaixo de:

Remover que item e qual o objectivo?

Esse é o pedido de grupo, para remover é melhor na função quando o grupo é criado

Share this post


Link to post
Share on other sites
Please login or register to see this spoiler.

 

Tudo o que eu procurava. Resolvido!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.