Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Variables

NicholasScott1337 edited this page Jul 17, 2015 · 3 revisions
Tables
  • Net.client -- Table, stores info for the client
  • Net.server -- Table, stores info for the server
  • Net.commands -- Table, stores all registered commmands
  • Net.users -- Table, stores all current users connected
Variables
  • Net.client.ip -- String in the table "Net.client", ip of currently connected server, (nil if not connected)
  • Net.client.port -- String in the table "Net.client", port of currently connected server, (nil if not connected)
  • Net.server.port -- String in the table "Net.server", port server is currently listening on(nil if not listening)
  • Net.SERVER -- Boolean, true if running as a server, false if running as a client
  • Net.CLIENT -- Boolean, true if running as a client, false if running as a server
  • Net.maxPing -- Integer, maxPing. For client to server connection
  • Net.currentPing -- Integer, timekeeping, should never be edited
  • Net.connected -- Boolean, true if connected/listening, false if not
  • Net.null -- Encoding variable, DO NOT MODIFY!!!
  • Net.one -- Encoding variable, DO NOT MODIFY!!!
  • Net.defnull -- Encoding variable, DO NOT MODIFY!!!
  • Net.defone -- Encoding variable, DO NOT MODIFY!!!