ข้ามไปยังเนื้อหาหลัก

ToggleVehicleSirenEnabled

คำเตือน

ฟังก์ชันนี้ถูกเพิ่มใน omp v1.1.0.2612 และจะไม่ทำงานในเวอร์ชันก่อนหน้า!

Description​

Turn the siren for a vehicle on or off.

Parameters​

NameDescription
vehicleidThe ID of the vehicle.
bool:enabledtrue: On - false: Off

Examples​

ToggleVehicleSirenEnabled(vehicleid, true);