Exception_17 0 Posted September 8, 2022 Share Posted September 8, 2022 Networking: i need to get the transferred data from event.pull("modem"), but all i get is modem_message(see photo) How can i get the "hello everyone" to a string?(and possibly the distance too) Quote Link to post Share on other sites
0 michel 0 Posted November 2, 2022 Share Posted November 2, 2022 You want to pull the message always or just one time? while true do local _, localNetworkCard, remoteAddress, port, distance, message = event.pull("modem_message") print(message) end or local message while true do local _, localNetworkCard, remoteAddress, port, distance, msg = event.pull("modem_message") if msg then message = msg break end end i think that will work, if not the first one sure will. I hope i helped you Quote Link to post Share on other sites
Networking: i need to get the transferred data from event.pull("modem"), but all i get is modem_message(see photo)
How can i get the "hello everyone" to a string?(and possibly the distance too)
Link to post
Share on other sites