Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class siren_Start: beacons_start
- {
- userActionID=52;
- displayName="$STR_A3_CfgVehicles_siren_on";
- displayNameDefault="<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\beacons_ON_ca.paa' size='2.5' />";
- condition="driver this == player AND {this animationPhase 'hidePolice' < 0.5} AND {getCustomSoundController [this,'CustomSoundController1'] < 0.5}";
- statement="[this,'CustomSoundController1',1,0.2] remoteExec ['BIS_fnc_setCustomSoundController', 0, ['CustomSoundController1', netID this] joinString ':'];";
- };
- class siren_stop: siren_Start
- {
- userActionID=53;
- displayName="$STR_A3_CfgVehicles_siren_off";
- displayNameDefault="<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\beacons_OFF_ca.paa' size='2.5' />";
- condition="driver this == player AND {this animationPhase 'hidePolice' < 0.5} AND {getCustomSoundController [this,'CustomSoundController1'] > 0.5}";
- statement="[this,'CustomSoundController1',0,0.4] remoteExec ['BIS_fnc_setCustomSoundController', 0, ['CustomSoundController1', netID this] joinString ':'];";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement