Difference between revisions of "ServerObject:setPing"

m
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|???|msg|Ping package content.}}
 
=== Returns ===
 
=== Returns ===

Revision as of 01:53, 20 November 2010

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.
??? msg
Ping package content.

Returns

Nothing.

See Also

Other Languages