Api/netlib.gettable()

From Minux Wiki
Revision as of 00:09, 14 October 2024 by Shorun (talk | contribs) (Created page with "netlib function used to receive a table expected to be sent with "sendtable" sendtable will first send a regular rednet message with the string "sendtable", when you catch this you know a table is comming next '''usage:''' local table = netlib.gettable(client) '''output:''' returns the table if successfull, returns false if failed")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

netlib function used to receive a table expected to be sent with "sendtable"

sendtable will first send a regular rednet message with the string "sendtable", when you catch this you know a table is comming next


usage:

local table = netlib.gettable(client)


output:

returns the table if successfull,

returns false if failed