How can I delete or what is the command for deleting equipment of the player (not in the inventory) example i have 2 pcs Shield in my inventory, and 1 shied (put on)in my Equipment, <<< -- so how can i delete this Shield in my equipment (not the 2 pcs Shield in my inventory) ?
try this..
prontera,155,181,5 script Sample 757,{
getinventorylist;
for( set .@i,0; .@i < @inventorylist_count; set .@i,.@i + 1 )
if( @inventorylist_id[.@i] == 1234 && @inventorylist_equip[.@i] ){
delitem @inventorylist_id[.@i],1;
mes "DONE";
}
close;
}
change the itemID here..
@inventorylist_id[.@i] == 1234
@Kyeme..
delitem cant work properly here.....it might delete the wrong item if you have more than 1 in your inventory.....