SetOutgoingKBPSLimit (Method)

From Legacy Roblox Wiki
Revision as of 00:05, 30 August 2011 by >LocalChum (New page: {{locked}} <onlyinclude>{{Method |name = SetOutgoingKBPSLimit |arguments = int ''limit'' |returns = nil |object = NetworkPeer |description = Sets the maximum outgoing bandwidth tha...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
SetOutgoingKBPSLimit( int limit )
Returns nil
Description: Sets the maximum outgoing bandwidth that Roblox can use
Member of: NetworkPeer


Example
game:GetService("NetworkClient"):SetOutgoingKBPSLimit(1) -- Limit bandwidth usage to 1KBPS