What it does
NetworkAllowClients writes to a Multiplayer object: it sets rather than reads. It takes iNetID (an integer), and returns nothing. iNetID is the id of a Net object, obtained elsewhere in the Multiplayer family.
Syntax
NetworkAllowClients(iNetID integer)Parameters
| Name | Type |
|---|---|
| iNetID | integer |
Every form returns
nothing
Example · generated
net = CreateNetworkMessage()NetworkAllowClients(net)DO Sync()LOOPCreateNetworkMessage is there to give the call something to act on; NetworkAllowClients 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.