Author Topic: Add Cargo by Device  (Read 1528 times)

p0ki

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Add Cargo by Device
« on: September 15, 2015, 01:47:09 pm »
Hy there,
I learned that you can remove Cargo by this command:
Code: [Select]
ship.RemoveCargoByType(args.ship_id, "item_id", $amount);But how do you add Cargo?
ship.AddCargoByType didn't do it.
ship.AddItemToStorage didn't do it.

So what do it? I just know the two it ...
... commands.
(I know that properly it would be "does" but if you get the reference, you are awesome)

Any help appreciated :)
« Last Edit: September 15, 2015, 02:25:59 pm by p0ki »

Lurler

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1096
    • View Profile
Re: Add Cargo by Device
« Reply #1 on: September 15, 2015, 07:50:48 pm »
Hm, you can just take a loot at any of the topics in the game that uses these functions and see how they work. I think it is better than any explanation :)

p0ki

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Add Cargo by Device
« Reply #2 on: September 16, 2015, 03:56:05 am »
Thanks, found it.

Teerawut

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Add Cargo by Device
« Reply #3 on: October 29, 2017, 10:05:36 pm »
Add product by device I think it is a very good way.คาสิโนออนไลน์
« Last Edit: December 27, 2017, 12:54:15 am by Teerawut »