CSMPFunctions: part 2 #4

Merged
Swirln merged 2 commits from patch-4 into master 2017-07-07 13:19:43 -05:00
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ function SetRBXLegacyVersion(Version)
rbxlegacyversion = Version
if (rbxlegacyversion == "pre-alpha") then
settings().Rendering.frameRateManager = 2
settings().Rendering.graphicsMode = 2
settings().Rendering.graphicsMode = 2
settings().Network.MaxSendBuffer = 1000000
settings().Network.PhysicsReplicationUpdateRate = 1000000
settings().Network.SendRate = 1000000
@ -414,7 +414,7 @@ function CSServer(Port,PlayerLimit)
RunService = game:GetService("RunService")
Server:start(Port, 20)
RunService:run()
game.Workspace:InsertContent("bxasset://fonts/libraries.rbxm")
game.Workspace:InsertContent("rbxasset://fonts/libraries.rbxm")
game:GetService("Players").MaxPlayers = PlayerLimit
game:GetService("Players").PlayerAdded:connect(function(Player)
if (game:GetService("Players").NumPlayers > game:GetService("Players").MaxPlayers) then
@ -629,7 +629,7 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He
client.ConnectionRejected:connect(rejected)
client.ConnectionFailed:connect(failed)
client:Connect(ServerIP,ServerPort, 0, 20)
end
end
end)
if not suc then