What it does
NetworkClientIP reads from a Multiplayer object without changing it. It takes iNetID (an integer) and client (an integer), and answers a string. iNetID is the id of a Net object, obtained elsewhere in the Multiplayer family.
Syntax
NetworkClientIP(iNetID integer, client integer) → stringParameters
| Name | Type |
|---|---|
| iNetID | integer |
| client | integer |
Every form returns
string
Example · generated
net = CreateNetworkMessage()DO Print(NetworkClientIP(net, 1)) Sync()LOOPCreateNetworkMessage is there to give the call something to act on; NetworkClientIP is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.