Mindee-BOT
Mindee-BOT Community => Scripting => Request => Topic started by: Nicaragua on September 16, 2023, 05:08:45 am
-
can help with a example for use this
script.StoreItem(itemId, to_inventory(True/False))
- Stores first specified item from backpack to inventory/depotmail.
- Returns backpack slot id from which item was stored or -1 if storage failed.
i am use this but is fail
script.StoreItem(6601)
##### fail####
script.StoreItem(6601, to_inventory(True))
#####fail#####
[whathyds]
-
guardarwp = Location (33052, 32319, 7)
def onChangeLocation(x, y, z):
xyz = Location(x,y,z)
elif xyz == guardarwp:
script.StatusMessage('guardar arma energia')
script.ToggleMovement(True)
script.StoreItem(6601)
script.ToggleMovement()
-
Assim que funciona;
script.StoreItem(6601, True) # True para o inventario e False para o depotmail