Skip to content

Easzy's Tuning – Hooks

This document lists the available Hooks provided by the Easzy's Tuning addon, allowing other developers to customize or extend its behavior.


General Garage Events

EZTuningStartTuning(ply, garageDoor)

Called when a player starts tuning their vehicle in the garage.

  • ply: Player who entered the garage
  • garageDoor: Entity of the garage door

EZTuningStopTuning(ply, garageDoor)

Called when a player stops tuning their vehicle.

  • ply: Player who exited the garage
  • garageDoor: Entity of the garage door

Upgrades & Purchases

EZTuningBuyUpgrade(ply, vehicle, categoryData, choiceData)

Called when a player purchases an upgrade.

  • ply: The player buying the upgrade
  • vehicle: The target vehicle
  • categoryData: Table describing the upgrade category
  • choiceData: Table describing the specific upgrade choice

Effects & Visuals

EZTuningShouldBackfire(ply, vehicle, mv)

Called to determine whether the backfire effect should trigger.

  • Return false to disable.

EZTuningShouldBurn(ply, vehicle, mv)

Called to determine whether the vehicle should emit tire burn effects.

  • Return false to disable.

EZTuningShouldDrift(vehicle, mv)

Called to determine whether the vehicle is allowed to drift.

  • Return false to disable.

EZTuningShouldRev(ply, vehicle, mv)

Called to determine if the revving effect should occur.

  • Return false to disable.

EZTuningShouldTurbo(ply, vehicle, mv)

Called to control whether the turbo effect activates.

  • Return false to disable.

EZTuningShouldBrake(ply, vehicle, mv)

Called to determine if the brake light or behavior should be triggered.

  • Return false to disable.

Client-Side Hooks

These hooks are client-side only.

EZTuningShouldActivateNeon(ply, vehicle)

Called to check whether a neon effect should activate on a vehicle.

  • Return false to prevent activation.

EZTuningShouldExhaustEffects(vehicle)

Called when the vehicle's exhaust effects are about to be rendered.

  • Use to customize or cancel exhaust particles.