Vehicle::startHorn

From RAGE Multiplayer Wiki

Sounds the horn for the specified vehicle.

vehicle: The vehicle to activate the horn for.
mode: The hash of 'NORMAL' or 'HELDDOWN'. Can be 0.
duration: The duration to sound the horn, in milliseconds.

Note: If a player is in the vehicle, it will only sound briefly.

Syntax

vehicle.startHorn(duration, mode, forever);

Required Arguments

  • duration: int
  • mode: Model hash or name
  • forever: Boolean

Return value

  • Undefined

Example

// todo

See also