Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Cinfa

#141
Quote from: Mel_O_Die on Sat 14/10/2006 18:50:31
Code: ags

if (player.ActiveInventory == inventory[x])   { 
 // x is the number of the key in "inventory item", this line will check if the key item is used on the door

That code helped me too, thanks! But maybe there's a small error, it works with:
Code: ags

if (player.ActiveInventory == iITEMNAME)   { 
SMF spam blocked by CleanTalk