Reply to add_item
If you don't have an account, just leave the password field blank.
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(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
sp_active(¤t_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
--------------------------------------
if (&result == 2)
{
&drank = 0;
add_item("item-koffie",438,27);
unfreeze(1);
sp_hard(¤t_sprite, 1);
draw_hard_sprite(¤t_sprite);
sp_active(¤t_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