From 5320ec0365c4579a4c25d89709e9ff2847eaa58b Mon Sep 17 00:00:00 2001 From: Mobius1 Date: Mon, 6 Nov 2023 20:37:32 +0000 Subject: [PATCH] Remove demo code from config --- README.md | 3 +++ config/config_client.lua | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 10f2d0c..e9c4d87 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ * Adjust `config/config_client.lua` and `config/config_server.lua` to you liking * Restart you server +## Upgrading from v0.2.0 +The need for streaming a custom `prop_spycam` model was removed in v0.3.0 therefore you must delete the `stream` folder and it's contents otherwise the spycam will be rotated incorrectly! + ## Usage * Use the `spycam` item from your inventory to deploy a new spy camera diff --git a/config/config_client.lua b/config/config_client.lua index 13b62e9..20aaefa 100644 --- a/config/config_client.lua +++ b/config/config_client.lua @@ -55,12 +55,12 @@ Config.Controls = { -- Callback fired when entering the camera view Config.OnEnterCam = function() - TriggerEvent('hud:client:DisableHud') + -- end -- Callback fired when exiting the camera view Config.OnExitCam = function() - TriggerEvent('hud:client:EnableHud') + -- end -- List of material hashes a player can't place a spycam on