api extentions
This commit is contained in:
parent
feafbde110
commit
65513b8af2
|
|
@ -1,3 +1,7 @@
|
|||
|
||||
Enhancements:
|
||||
- Added a Novetus Scripting API!
|
||||
----------------------------------------------------------------------------
|
||||
1.3 Snapshot v22.8222.20490.1
|
||||
Enhancements:
|
||||
- Every client now has support for custom addon scripts!
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -231,7 +231,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:service("NetworkServer")
|
||||
RunService = game:service("RunService")
|
||||
PlayerService = game:service("Players")
|
||||
|
|
@ -398,7 +398,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:service("RunService"):run()
|
||||
local plr = game.Players:createLocalPlayer(UserID)
|
||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -429,7 +429,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -231,7 +231,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:service("NetworkServer")
|
||||
RunService = game:service("RunService")
|
||||
PlayerService = game:service("Players")
|
||||
|
|
@ -398,7 +398,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:service("RunService"):run()
|
||||
local plr = game.Players:createLocalPlayer(UserID)
|
||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -429,7 +429,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -293,7 +293,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:service("NetworkServer")
|
||||
RunService = game:service("RunService")
|
||||
PlayerService = game:service("Players")
|
||||
|
|
@ -456,7 +456,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:service("RunService"):run()
|
||||
local plr = game.Players:createLocalPlayer(UserID)
|
||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -487,7 +487,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -293,7 +293,7 @@ print("ROBLOX Client version '0.3.368.0' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:service("NetworkServer")
|
||||
RunService = game:service("RunService")
|
||||
PlayerService = game:service("Players")
|
||||
|
|
@ -456,7 +456,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:service("RunService"):run()
|
||||
local plr = game.Players:createLocalPlayer(UserID)
|
||||
game.Workspace:insertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -487,7 +487,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -353,7 +353,7 @@ print("ROBLOX Client version '0.3.512.0' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:GetService("NetworkServer")
|
||||
RunService = game:GetService("RunService")
|
||||
PlayerService = game:GetService("Players")
|
||||
|
|
@ -515,7 +515,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -545,7 +545,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -353,7 +353,7 @@ print("ROBLOX Client version '0.3.512.0' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:GetService("NetworkServer")
|
||||
RunService = game:GetService("RunService")
|
||||
PlayerService = game:GetService("Players")
|
||||
|
|
@ -515,7 +515,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -545,7 +545,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -471,7 +471,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:GetService("NetworkServer")
|
||||
RunService = game:GetService("RunService")
|
||||
Server:start(Port, 20)
|
||||
|
|
@ -633,7 +633,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -664,7 +664,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -552,7 +552,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:GetService("NetworkServer")
|
||||
RunService = game:GetService("RunService")
|
||||
Server:start(Port, 20)
|
||||
|
|
@ -727,7 +727,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -758,7 +758,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -552,7 +552,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
Server = game:GetService("NetworkServer")
|
||||
RunService = game:GetService("RunService")
|
||||
Server:start(Port, 20)
|
||||
|
|
@ -727,7 +727,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
game.Workspace:InsertContent("rbxasset://Fonts//libraries.rbxm")
|
||||
|
|
@ -758,7 +758,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -295,7 +295,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID)
|
||||
|
|
@ -557,7 +557,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.")
|
||||
local NetworkServer=game:GetService("NetworkServer")
|
||||
local RunService = game:GetService("RunService")
|
||||
|
|
@ -749,7 +749,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):Run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
plr.Name = PlayerName
|
||||
|
|
@ -783,7 +783,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID,IconType)
|
||||
|
|
@ -581,7 +581,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
assert((type(Port)~="number" or tonumber(Port)~=nil or Port==nil),"CSRun Error: Port must be nil or a number.")
|
||||
local NetworkServer=game:GetService("NetworkServer")
|
||||
local RunService = game:GetService("RunService")
|
||||
|
|
@ -782,7 +782,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
game:GetService("RunService"):Run()
|
||||
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||
plr.Name = PlayerName
|
||||
|
|
@ -823,7 +823,7 @@ end
|
|||
|
||||
function CSStudio()
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function() _G.CSScript_PostInit() end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -294,7 +294,7 @@ function LoadCharacterNew(playerApp,newChar)
|
|||
end
|
||||
end
|
||||
|
||||
pcall(function() _G.CSScript_OnLoadCharacter() end)
|
||||
pcall(function() _G.CSScript_OnLoadCharacter(Player, playerApp) end)
|
||||
end
|
||||
|
||||
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,ItemID,IconType)
|
||||
|
|
@ -579,7 +579,7 @@ print("ROBLOX Client version '" .. rbxversion .. "' loaded.")
|
|||
|
||||
function CSServer(Port,PlayerLimit,ClientEXEMD5,LauncherMD5,ClientScriptMD5,Notifications,ValidatedScripts,NewGUI)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Server") end)
|
||||
pcall(function()
|
||||
id = -1
|
||||
if NewGUI == true then
|
||||
|
|
@ -786,7 +786,7 @@ end
|
|||
|
||||
function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,IconType,ItemID,NewGUI)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Solo") end)
|
||||
pcall(function()
|
||||
id = -1
|
||||
if NewGUI == true then
|
||||
|
|
@ -836,7 +836,7 @@ end
|
|||
|
||||
function CSStudio(NewGUI)
|
||||
pcall(function() dofile("rbxasset://scripts//Addon.lua") end)
|
||||
pcall(function() _G.CSScript_PreInit() end)
|
||||
pcall(function() _G.CSScript_PreInit("Studio") end)
|
||||
pcall(function()
|
||||
id = -1
|
||||
if NewGUI == true then
|
||||
|
|
|
|||
Loading…
Reference in New Issue