From ac65b887e48b3658f04447ac7bdfc503c3884c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Shadowsun=E2=84=A2?= <12494967+CattoGamer@users.noreply.github.com> Date: Thu, 7 Nov 2024 23:40:02 +0100 Subject: [PATCH] Set up the hands when a player spawns --- workshop/gamemodes/cinema_modded/gamemode/player.lua | 2 ++ .../cinema_modded/gamemode/player_class/player_lobby.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/workshop/gamemodes/cinema_modded/gamemode/player.lua b/workshop/gamemodes/cinema_modded/gamemode/player.lua index 7390bb4..d547ebc 100644 --- a/workshop/gamemodes/cinema_modded/gamemode/player.lua +++ b/workshop/gamemodes/cinema_modded/gamemode/player.lua @@ -103,6 +103,8 @@ function GM:PlayerSpawn( pl ) -- Set player model hook.Call( "PlayerSetModel", GAMEMODE, pl ) + pl:SetupHands() + end --[[--------------------------------------------------------- diff --git a/workshop/gamemodes/cinema_modded/gamemode/player_class/player_lobby.lua b/workshop/gamemodes/cinema_modded/gamemode/player_class/player_lobby.lua index 589c459..f3083f9 100644 --- a/workshop/gamemodes/cinema_modded/gamemode/player_class/player_lobby.lua +++ b/workshop/gamemodes/cinema_modded/gamemode/player_class/player_lobby.lua @@ -28,6 +28,7 @@ PLAYER.StartArmor = 0 -- How much armour we start with PLAYER.DropWeaponOnDie = false -- Do we drop our weapon when we die PLAYER.TeammateNoCollide = true -- Do we collide with teammates or run straight through them PLAYER.AvoidPlayers = false -- Automatically swerves around other players +PLAYER.UseVMHands = true -- Uses viewmodel hands --