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;}
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