Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class UserActions
- {
- class Siren_on {
- displayName = "<t color='#ff0000'>Sirene An</t>";
- position = "drivewheel";
- radius = 2;
- condition = "driver this == player && (this getVariable ['sireneactive',0]) == 0";
- shortcut="sitDown";
- showWindow=0;
- statement = "this setVariable ['sireneactive',1,true];";
- onlyForplayer = 0;
- };
- class Siren_off {
- displayName = "<t color='#ff0000'>Sirene Aus</t>";
- position = "drivewheel";
- radius = 2;
- condition = "driver this == player && (this getVariable ['sireneactive',0]) == 1";
- shortcut="sitDown";
- showWindow=0;
- statement = "this setVariable ['sireneactive',0,true];";
- onlyForplayer = 0;
- };
- };
- ---------------------------in der config.cpp in der base PBO______________________
- class CfgSounds {
- sounds[] = {};
- class copsirene {
- name = "copsirene";
- sound[] = {"MostWantedRPG_Base\Sounds\copvioce\PA500.wav", 5, 1.0, 250};
- titles[] = {};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement