The Dink Network

Reply to add_item

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
December 29th 2005, 09:06 AM
duck.gif
I have a problem concerning the add_item thingy.. Take a look at this extract from one of my scripts

--------------------------------------
if (&result == 2)
{
&drank = 0;
add_item("item-koffie",438,27);
unfreeze(1);
sp_hard(&current_sprite, 1);
draw_hard_sprite(&current_sprite);
sp_active(&current_sprite, 0);
return;
}
--------------------------------------

1/ I don't really know where I should put the unfreeze(1); , but then again that's not really a problem, just something I'd like to know

2/ I used this with other items, and it worked fine, but when I try to get the 'coffee' in the inventory, it just doesn't turn up! I've tried to solve it, but I just can't find the problem..

thanks