Advertisement
cochise57

Untitled

Jul 27th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. os.loadAPI("ocs/apis/sensor")
  2. local s = sensor.wrap("left")
  3. local details = s.getTargetDetails("tank target goes here")
  4. print(details.Tanks[1].Amount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement