#vivify_focus - Camera Zoom/Focus

15 messages · Page 1 of 1 (latest)

spare sundial
#

Saw this in another thread and recreated it. I'm sure there's a better way to do this but 🤷‍♂️ it works lol.

It could honestly go into any client-side file in qb-smallresources but not everyone knows how to do that so you choose 😛

Props to @bronze sierra for the original idea.

Preview: https://streamable.com/witahm
Download: https://github.com/Aimeri/vivify_focus

Watch "vivify_focus" on Streamable.

▶ Play video
GitHub

Focus/Zoom in on an area around your character. Contribute to Aimeri/vivify_focus development by creating an account on GitHub.

bronze sierra
#

Well done! @spare sundial

vestal briar
#

Is there a way to make it the middle mouse button to click. instead of Z

spare sundial
#

It shouldnt but Ill look into it.

spare sundial
vestal briar
spare sundial
#

What if you were to change line 18 to this?

        local isZoomKeyHeld = IsControlPressed(0, 0)

So change the IsControlPressed(0 , 20) to IsControlPressed(0, 0)

#

Then refresh and restart the script

#

One sec going to PC to take a look.

bronze sierra
#

This is what I use on my zoom script
IsControlPressed(0, 348)

#

for the middle mouse button

ripe patio
#

why do you have QBCore required?

vestal briar
bronze sierra
vestal briar