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

FCNPC_OnVehicleTakeDamage does not detect non-hand weapons #326

Open
Dylan-Madigan opened this issue Jan 28, 2025 · 0 comments
Open

FCNPC_OnVehicleTakeDamage does not detect non-hand weapons #326

Dylan-Madigan opened this issue Jan 28, 2025 · 0 comments

Comments

@Dylan-Madigan
Copy link

I'm not sure if this should, being most of SAMP doesn't detect non-hand weapons, but things like Vehicle M4 (19) from the Rustler, Vehicle Rocketlauncher (21), Helicopter Blades (50), etc., seem to not trigger this callback. The thing is they also don't trigger OnPlayerTakeDamage frustratingly, and I don't know why or if there is a limitation somewhere.

To reproduce I have this callback set up so any time damage is detected, the FCNPC exits the vehicle and the vehicle breaks. It only responds to weapons the player can hold, not vehicle guns, collisions, or things of that nature.

  • OS: Client Windows 10, Server Windows Server 2022 (both fully updated)
  • SA-MP version: Client SAMP 0.3.7-R5-2-MP, Server SAMP 0.3.7-R2
  • FCNPC version: 2.0.11
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

No branches or pull requests

1 participant