Skip to content

Camera shoots multiple times if ammo > 1. #4166

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

Open
1 task done
psydmg opened this issue Apr 17, 2025 · 1 comment · May be fixed by #4225
Open
1 task done

Camera shoots multiple times if ammo > 1. #4166

psydmg opened this issue Apr 17, 2025 · 1 comment · May be fixed by #4225
Labels
bug Something isn't working

Comments

@psydmg
Copy link

psydmg commented Apr 17, 2025

Describe the bug

So, i discovered while creating a script that camera in MTA shoots multiple times if you press the button. It doesn't matter how much FPS client have and seems like other resources doesn't affect it. Also it doesn't matter if client have toggled "saving photos in GTA SA folder" - it will save one file of the first frame. Seems like resolution or window mode doesn't matter, just like any other video options.

I have tested that on my own server and also with default MTASA resources (at least the ones that goes with MTA Map Editor in Testing mode (F5 button)).

It works fine if client will have 1 ammo available in camera, the sound and effect works as intended.

I've got the video to show that issue: YT video here

Steps to reproduce

  1. Join any server or Map Editor.
  2. Take Camera.
  3. Shoot it once or hold the attack button.
  4. Try this with 1 ammo as well to see if it's fine.

Version

Multi Theft Auto v1.6-release-23147

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@psydmg psydmg added the bug Something isn't working label Apr 17, 2025
@lopezloo
Copy link
Member

Regression. Caused by bc45e8a
@FileEX

@FileEX FileEX linked a pull request May 16, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants