DeleteNetworkClient

Family: Multiplayer · One form

What it does

DeleteNetworkClient removes a Multiplayer object: after it, the id names nothing. It takes iNetID (an integer) and client (an integer), and returns nothing. iNetID is the id of a Net object, obtained elsewhere in the Multiplayer family.

Syntax

DeleteNetworkClient(iNetID integer, client integer)

Parameters

NameType
iNetIDinteger
clientinteger

Every form returns

nothing

Example · generated

net = CreateNetworkMessage()DeleteNetworkClient(net, 1)DO  Sync()LOOP

CreateNetworkMessage is there to give the call something to act on; DeleteNetworkClient 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.

91 commands in Multiplayer