Jump to content




openPeripherals problem

peripheral

1 reply to this topic

#1 Hydrotronics

  • Members
  • 131 posts
  • LocationThe hall of 1000 monkeys and only 1 typewriter

Posted 19 August 2015 - 04:25 PM

So, I was on my single player, jumping around the place when I thought "I wanna make a system that will remove your armour, and re-charge it for you" as I was wearing power armour. Anyway, I set course makign a basic program where if you stand on a PIM and open the computer, it pushes the items out of your armour slots and into the chest next to me. But it didn't work, it kept on saying that the ID number had to be lower than 40 (coming from the inventory) but the slot ID for armour is 103, 102, 101 and 100! Is there a way to by pass this? Another Thing is having it working on a server, that'd be nice also, thank you!

#2 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 19 August 2015 - 10:06 PM

Try the function 'getInventorySize()' when you are on and off the PIM, see what it says.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users