Skip to main content

Weapon::cancelCurrentDamageEvent

Not available on SYNC MP yet

This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.

Syntax​

unlike "return true" in the event (outgoingDamage/incomingDamage), it only cancels outgoing damage locally

mp.game.weapon.cancelCurrentDamageEvent();

Return value​

  • unknown

Example​

// todo