Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update binoculars.lua #39

Merged
merged 2 commits into from
Oct 10, 2023
Merged

Conversation

alberttheprince
Copy link
Contributor

Description

Hud hiding function readded to hide minimap and other common HUD components when using the binoculars. Not sure if this is the best way to do it, brought it over from the original qb-smallresources binoculars.

Checklist

  • [~] I have personally loaded this code into an updated Qbox project and checked all of its functionality. (did this on my mixed qbcore/qbox server.
  • My code fits the style guidelines.
  • My PR fits the contribution guidelines.

@@ -49,6 +49,25 @@ local function handleZoom(cam)
end
end

local function HideHUDThisFrame()
Copy link
Member

Choose a reason for hiding this comment

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

camelCase local function names

@ChatDisabled ChatDisabled merged commit 2f02f65 into Qbox-project:main Oct 10, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants