altv-issues icon indicating copy to clipboard operation
altv-issues copied to clipboard

Add Clientside Damage Events

Open soren-source opened this issue 2 years ago • 2 comments

Description of the problem

At the Moment we only have the Serverside Damage Event, which makes certain things harder / not possible to do (e.G. Hitmarker System via Server Damage Event takes up Server Performance, would be easier to just trigger Clientside)

Desired solution for the problem

Add 2 new Events:

  • First Event for Damage you deal to others (doesnt matter if you run them over with a Vehicle, or shoot them)
  • Second Event if the Client receives Damage

Alternatives you considered

No response

Additional context

No response

Version

No response

soren-source avatar Aug 12 '22 11:08 soren-source

It would also be nice if there would be an option to cancel event. Canceling this event will cancel any damaging effects to the local player.

LightSrc avatar Aug 18 '22 11:08 LightSrc

It would also be nice if there would be an option to cancel event. Canceling this event will cancel any damaging effects to the local player.

Cancel is only possible serverside and wont be added anywhere else.

FabianTerhorst avatar Aug 18 '22 11:08 FabianTerhorst

v15 has a clientside entityHitEntity event.

FabianTerhorst avatar Jun 09 '23 14:06 FabianTerhorst