Difference between revisions of "ServerObject:send"

m
m
Line 6: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|UserData|data|The data to send to the client(s).}}
+
{{param|userdata|data|The data to send to the client(s).}}
 
{{param|recipient|recipient|The client who shall receive the data, If nil then sends to all client(s).}}
 
{{param|recipient|recipient|The client who shall receive the data, If nil then sends to all client(s).}}
 
=== Returns ===
 
=== Returns ===

Revision as of 01:53, 20 November 2010

Send data to client(s).

Function

Synopsis

server:send(data, recipient)

Arguments

userdata data
The data to send to the client(s).
recipient recipient
The client who shall receive the data, If nil then sends to all client(s).

Returns

Nothing.

See Also

Other Languages