Difference between revisions of "ServerObject:setPing"

m
m (Filling in param type for ping msg)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|Boolean|enabled|Is enabled (True/False).}}
+
{{param|boolean|enabled|Is enabled (True/False).}}
{{param|Number|time|How many seconds between pings.}}
+
{{param|number|time|How many seconds between pings.}}
{{param|???|msg|Ping package content.}}
+
{{param|string|msg|Ping package content.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.

Latest revision as of 22:24, 6 March 2011

Sets the ping for the server.

Function

Synopsis

server:setPing(enabled, time, msg)

Arguments

boolean enabled
Is enabled (True/False).
number time
How many seconds between pings.
string msg
Ping package content.

Returns

Nothing.

See Also

Other Languages