START_VEHICLE_HORN
Sounds the horn of vehicle for duration using mode, optionally forever.
Signature
void START_VEHICLE_HORN(Vehicle vehicle, int duration, Hash mode, BOOL forever); // 0xB4E3BFC39CA16057 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | vehicle | Vehicle |
| 2 | duration | int |
| 3 | mode | Hash |
| 4 | forever | BOOL |
Facts
| Name | START_VEHICLE_HORN |
|---|---|
| Hash | 0xB4E3BFC39CA16057 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xB4E3BFC39CA16057, -- START_VEHICLE_HORN
0, -- Vehicle vehicle
0, -- int duration
GetHashKey("name"), -- Hash mode
false -- BOOL forever
)Citizen.invokeNative("0xB4E3BFC39CA16057", // START_VEHICLE_HORN
0, // Vehicle vehicle
0, // int duration
GetHashKey("name"), // Hash mode
false // BOOL forever
);Function.Call((Hash)0xB4E3BFC39CA16057, // START_VEHICLE_HORN
0, // Vehicle vehicle
0, // int duration
(uint)API.GetHashKey("name"), // Hash mode
false // BOOL forever
);Related VEHICLE natives
- START_PLAYBACK_RECORDED_VEHICLE
- GET_VEHICLE_TRAILER_VEHICLE
- STOP_BRINGING_VEHICLE_TO_HALT
- STOP_PLAYBACK_RECORDED_VEHICLE
- SET_ALL_VEHICLE_GENERATORS_ACTIVE
- SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA
- SET_ALLOW_VEHICLE_EXPLODES_ON_CONTACT
- SET_BREAKABLE_VEHICLE_LOCKS_UNBREAKABLE
- SET_DISABLE_VEHICLE_ENGINE_FIRES
- SET_DISABLE_VEHICLE_PETROL_TANK_DAMAGE
- SET_DISABLE_VEHICLE_PETROL_TANK_FIRES
- SET_DONT_ALLOW_PLAYER_TO_ENTER_VEHICLE_IF_LOCKED_FOR_PLAYER
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.