Skip to main content

SendingHitmarker

Gets called when a hitmarker is being sent to a player.

Start a script section

!-- OnEvent SendingHitmarker
-- require @evPlayer $evSize $evPlayAudio $evHitmarker $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerSendingHitmarkerEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets or sets the player that the hitmarker is being sent to.
$evSizenumber valueGets or sets the target size multiplier.
$evPlayAudiobool valueGets or sets a value indicating whether the hitmarker sound effect should play.
$evHitmarkerHitmarkerType enum valueGets or sets a the type of the hitmarker.
$evIsAllowedbool valueWhether the event is allowed to run.