Skip to content

GetVehicleHornType ​

сервер GET_VEHICLE_HORN_TYPE

c
Hash GET_VEHICLE_HORN_TYPE(Vehicle vehicle);

This is a getter for the client-side native START_VEHICLE_HORN, which allows you to return the horn type of the vehicle.

Note: This native only gets the hash value set with START_VEHICLE_HORN. If a wrong hash is passed into START_VEHICLE_HORN, it will return this wrong hash.

c
enum eHornTypes
{
    NORMAL = 1330140148,
    HELDDOWN = -2087385909,
    AGGRESSIVE = -92810745
}

Параметры ​

  • vehicle: The vehicle to check the horn type.

Возвращает ​

Returns the vehicle horn type hash, or 0 if one is not set.


Страница собрана автоматически из native-decls/GetVehicleHornType.md. Нашли ошибку — поправьте исходный файл.

Независимый проект на базе Cfx.re. Не связан с Rockstar Games и Take-Two Interactive.