Skip to content

Commit

Permalink
fix(menu): freeze func + small message
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra committed May 21, 2023
1 parent 6948688 commit fcc85bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions resource/menu/client/cl_freeze.lua
Expand Up @@ -32,6 +32,7 @@ RegisterNetEvent('txcl:setFrozen', function(isFrozen)
debugPrint('Frozen: ' .. tostring(isFrozen))
--NOTE: removed the check for vehicle, but could be done with
-- IsPedInAnyVehicle for vehicles and IsPedOnMount for horses
local playerPed = PlayerPedId()
TaskLeaveAnyVehicle(playerPed, 0, 16)
FreezeEntityPosition(playerPed, isFrozen)
sendFreezeAlert(isFrozen)
Expand Down
2 changes: 1 addition & 1 deletion resource/menu/client/cl_functions.lua
Expand Up @@ -51,7 +51,7 @@ end

--- Close the menu if pause menu is opened using the default P key
local function createPauseMenuCheckerThread()
debugPrint('Starting gamer tag follower thread')
debugPrint('Starting pause menu checker thread')
CreateThread(function()
while isMenuVisible do
if IsPauseMenuActive() then
Expand Down

1 comment on commit fcc85bf

@pETO0P6Y98
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2

Please sign in to comment.