Skip to content

FCNPC_OnVehicleTakeDamage does not detect non-hand weapons #326

@Dylan-Madigan

Description

@Dylan-Madigan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions