Opening a Package and Parsing the Contents

trine351

New member
Comparing an Item to an Array of Strings

Edit: Thanks Slyz, that worked perfect after a bit of guesswork and testing. :)
 
Last edited:

zarqon

Well-known member
Don't know if it is helpful to anyone, but I have the following in my login script to automatically open all packages:

PHP:
   if (can_interact()) for i from 1167 to 1171 cli_execute("use * "+to_item(i));

I'm pretty sure mafia will adjust your inventory correctly when you open packages.
 
Top