From aa13e54be4ab83bfbafcb183a68770ff8fb8e2c1 Mon Sep 17 00:00:00 2001 From: AlmTech Software Date: Thu, 5 Dec 2019 20:49:13 +0100 Subject: [PATCH] Spawning fixes & tweaks with UI --- gamemode/engine/core/server/sv_player_init.lua | 4 ++++ gamemode/settings/sv_settings.lua | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gamemode/engine/core/server/sv_player_init.lua b/gamemode/engine/core/server/sv_player_init.lua index ca01ddc..4a9a49a 100644 --- a/gamemode/engine/core/server/sv_player_init.lua +++ b/gamemode/engine/core/server/sv_player_init.lua @@ -9,6 +9,10 @@ Quantum.Server.Player = {} local ply = FindMetaTable( "Player" ) +function GM:PlayerSelectSpawn( pl ) + return -- return nothing because we dont wont the player to spawn anywhere +end + function GM:PlayerInitialSpawn( ply ) ply.isloaded = false -- REMOVE THIS WHEN MYSQL DB IS ADDED ply.cache = {} diff --git a/gamemode/settings/sv_settings.lua b/gamemode/settings/sv_settings.lua index d253339..5283c07 100644 --- a/gamemode/settings/sv_settings.lua +++ b/gamemode/settings/sv_settings.lua @@ -26,8 +26,8 @@ Quantum.Server.Settings.InitSpawnLocation = { Quantum.Server.Settings.SpawnLocations = { ["rp_truenorth_v1a_livin"] = { - ["Hospital"] = { pos = Vector( 13526.426758, 13088.842773, 128.031250 ), ang = Angle( 1, 115, 0 ) }, - ["Lake"] = { pos = Vector( 10812, -8319, 5388 ), ang = Angle( 5, -40, 0 ) } + ["Hospital"] = { pos = Vector( 13526.426758, 13088.842773, 125.031250 ), ang = Angle( 1, -115, 0 ) }, + ["Lake"] = { pos = Vector( 10812, -8319, 5382 ), ang = Angle( 5, -40, 0 ) } } }