إنتقل إلى المحتوى الرئيسي

SetVehicleParamsSirenState

تحذير

أُضيف هذا العنصر (دالة) في الإصدار 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​

SetVehicleParamsSirenState(vehicleid, true);