Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

_Jacques

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. You cannot print a table like that. To understand how to extract information from tables you really need to wrap your head around how tables store information, and also how to use the "generic for loop", check out the following links in the official Lua handbook, which although gives a good description contains a lot of computer science jargon that only programmers understand: https://www.lua.org/pil/4.3.5.html https://www.lua.org/pil/2.5.html Both concepts took me quite the amount of time to understand, so in the meantime try to use print(component.radar.getPlayers.name) or print(co
  2. The easiest way to fix your problem is to upgrade your graphics card to either tier 2 or 3 in order to increase the resolution and thus allow more characters to be displayed on your screen. Another fix would be to type this code in your terminal: os.sleep(0.5) for k,v in pairs(component.robot) do print(k,v) event.pull("key_up") end This will print out each entry of the table and the value it's stored under every time you press and release a key, and would probably work for any other table. You could also check out the code in the following pastebin [https://pastebin.com/5qB
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.