From e7090e6a7d4136032e5a5326d4f9fbbeb98aab8e Mon Sep 17 00:00:00 2001 From: Linden Date: Tue, 29 Jun 2021 19:24:56 +1000 Subject: [PATCH] fix(client): Enable and and right arrow keys while loop is active Due to hidePlayers now waiting until a skin has been set before disabling, these keys are now required. --- client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/main.lua b/client/main.lua index f79c29b5..3d7aab44 100644 --- a/client/main.lua +++ b/client/main.lua @@ -44,7 +44,7 @@ if ESX.GetConfig().Multichar then hidePlayers = true MumbleSetVolumeOverride(PlayerId(), 0.0) Citizen.CreateThread(function() - local keys = {18, 27, 172, 173, 176, 177, 187, 188, 191, 201, 108, 109} + local keys = {18, 27, 172, 173, 174, 175, 176, 177, 187, 188, 191, 201, 108, 109} while hidePlayers do DisableAllControlActions(0) for i=1, #keys do