Maris Posted August 2, 2015 Share Posted August 2, 2015 Bug Submission:Category: Server CrashIssue Title: TheNet:GetServerIsDedicated()if not TheNet:GetServerIsDedicated() then print("This is not dedicated server!")endOn dedicated server will show in log file: "This is not dedicated server!" Link to comment Share on other sites More sharing options...
Maris Posted August 2, 2015 Author Share Posted August 2, 2015 I was trying to do this:PrefabFiles = {}function AddPrefabs(arr) for i,v in ipairs(arr) do table.insert(PrefabFiles,v) endendif TheNet:GetIsClient() then AddPrefabs({"my_client_prefab"})endIt does not work properly as well as GetServerIsDedicated() Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.