From 72e49b8cd940ca10dd25d24fda7fe5d879c6f1b7 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 11 Jul 2024 12:02:32 +0200 Subject: [PATCH] fix: unused global variable getCamDirection --- server-data/resources/[bpt_addons]/bpt_menu/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua b/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua index db48c5f6f..6f60e658d 100644 --- a/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_menu/client/main.lua @@ -168,7 +168,7 @@ function KeyboardInput(entryTitle, textEntry, inputText, maxLength) end end -function getCamDirection() +function GetPlayerCameraRotation() local heading = GetGameplayCamRelativeHeading() + GetEntityPhysicsHeading(plyPed) local pitch = GetGameplayCamRelativePitch() local coords = vector3(