Good morning, how are you?
How do I check if there is any Armor in the inventory?
I tried this way but it is detecting the one that is equipped too, I want you to check only the one in the inventory.
getinventorylist;while(.@i<@inventorylist_count&& getiteminfo(@inventorylist_id[.@i],5)!=16&& getiteminfo(@inventorylist_id[.@i],5)!=2).@i++;if(.@i<@inventorylist_count){
mes "Você deve guardar todas as Armaduras do seu inventário antes de continuar.";
close;}
Question
powkda
Good morning, how are you?
How do I check if there is any Armor in the inventory?
I tried this way but it is detecting the one that is equipped too, I want you to check only the one in the inventory.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.