Hey NN Community,
ich hab da mal eine Frage, ich möchte einem Mod Auto "Code Three" geben zudem auch eine Sirene.
Bis jetzt habe ich das hinzugefügt :
Code
		
			class sirenon
            {
                displayName="<t color='#ff0000'>Code Three</t>";
                position="drivewheel";
                radius=2;
                condition="driver this == player && (this getVariable ['gn_siren',0]) == 0";
                statement = "this animate [""BeaconsStart"",1], this setVariable ['gn_siren',0,true];";
                onlyForplayer=0;
	
	Wie verlinke ich z.B in dem Falle mit "gn_siren" ein Sound?