hey leute ich habe gerade zu nem Outro die musik hinzugefügt nun kann man die musik nicht ganz hören die musik kann man nur für c.a 2 - 4 sec hören obwohls länger geht hier mal der code
Code
[] call SOCK_fnc_updateRequest;
disableSerialization;
player allowDamage false;
disableUserInput true;
showChat false;
hint "";
playSound "logout";
[LIFE_ID_PlayerTags,"onEachFrame"] spawn BIS_fnc_removeStackedEventHandler;
1 fadeSound 0;
1 fadeSpeech 0;
[] call SOCK_fnc_updateRequest;
_ui = uiNamespace getVariable ["Life_HUD_nameTags",displayNull];
_outroCam = "camera" camCreate (player modelToWorldVisual [-5,0,1.85]);
_outroCam cameraEffect ["internal","back"];
_outroCam camSetFov 2.000;
_outroCam camSetTarget vehicle player;
_outroCam camSetRelPos [0,-1,1.85];
_outroCam camCommit 0;
waitUntil {camCommitted _outroCam};
_outroCam camSetFov 2;
_outroCam camSetRelPos [0,-5,1.85];
_outroCam camCommit 1;
8 cutFadeOut 3;
waitUntil {camCommitted _outroCam};
_outroCam camSetFov 9;
_outroCam camSetRelPos [0,-5,1050.85];
_outroCam camCommit 1.5;
waitUntil {camCommitted _outroCam};
cutText ["","BLACK",1];
sleep 1;
4 cutRsc ["SplashNoise","BLACK"];
sleep 0.25;
_name = name player;
[
format[
"<t size='1.3' color='#00C10D'>Retro Gaming</t><br/>Auf wiedersehen %1 ! <br/><t size='1.1'>Wir hoffen du besuchst uns bald wieder</t>",_name],
0,
0.2,
10,
0,
0,
8
] spawn BIS_fnc_dynamicText;
private["_activeHC"];
sleep 4;
_activeHC = false;
[player] remoteExec ["TON_fnc_cleanupRequest",_activeHC];
showChat true;
disableUserInput false;
["",0,0.2,10,0,0,8] spawn BIS_fnc_dynamicText;
failMission "Left";
_outroCam cameraEffect ["terminate","back"];
camDestroy _outroCam;
Alles anzeigen