exevankeko 10 Posted October 25, 2013 That is how mine is ment to look, read the comments in the script.//west won, show end1 with closing shot, called on all west players via BIS_fnc_MP [["end1",true,true],"BIS_fnc_endMission", west, false] call BIS_fnc_MP; //east failed, show end2 fade to black, called on all east players via BIS_fnc_MP [["end2",true,5],"BIS_fnc_endMission", east, false] call BIS_fnc_MP; See WIKI for command parameters BIS_fnc_endMission when he lost want it to end like this: but to say "you've lose" Share this post Link to post Share on other sites
exevankeko 10 Posted October 26, 2013 (edited) [/color] if (isServer) then { GameFinished = false; while {!(GameFinished)} do { if ( (scoreSide west >= (paramsArray select 0)) || (scoreSide east >= (paramsArray select 0)) ) then { if ( scoreSide west > scoreSide east ) then { //west won, show end1 with closing shot, called on all west players via BIS_fnc_MP [["end1",true,true],"BIS_fnc_endMission", west, false] call BIS_fnc_MP; //east failed, show end2 with closing shot, called on all east players via BIS_fnc_MP [["end2",true,true],"BIS_fnc_endMission", east, false] call BIS_fnc_MP; }else{ //east won, show end1 with closing shot, called on all east players via BIS_fnc_MP [["end1",true,true],"BIS_fnc_endMission", east, false] call BIS_fnc_MP; //west failed, show end2 with closing shot, called on all west players via BIS_fnc_MP [["end2",true,true],"BIS_fnc_endMission", west, false] call BIS_fnc_MP; }; GameFinished = true; }; sleep 1; }; }; I could fix the problem =) Iceman77 and larrow Thank you very much for your help! =) Edited October 26, 2013 by exevankeko Share this post Link to post Share on other sites