shark-attack 2 Posted April 9, 2007 hi guys .. i seem to be having issues with a script to eject a group from chopper on dedicated server play ... ======================= ;?!(local server) : exit _Group = _this select 0 _Vehicle = _this select 1 _listunits = units _Group _A = 0 _B = count _listunits #KEEPSENDING _listunits select _A action ["EJECT", _vehicle] Unassignvehicle (_listunits select _A) _A=_A+1 ~.5 ?_B >_A:goto "KEEPSENDING" ~.5 MoveNext = TRUE ======================= i have logic server in mission... the problem only occurs on dedi server.. instead of the 12 paras who start the mission in cargo being ejected it looks like 12 paras eject for everyplayer who is in game .. 10 players = 120 paras (some empty chutes ) can anyone see what im doing wrong or know of another paradrop script i could use (dedi friendly) many thanx in advance shark-attack  :crazy couldnt seem to wrap code so sorry in advance also Share this post Link to post Share on other sites
shuko 59 Posted April 9, 2007 You have commented out the server check line at least. Heres what I used last time: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> // nul=[helo1,paragroup] execVM "thisscript.sqf"; if (!local server) exitwith {}; _v = _this select 0; _g = _this select 1; { if (vehicle _x == _v) then { unassignvehicle _x; [_x] ordergetin false; _x action ["eject", vehicle _x]; }; sleep 2; } foreach units _g; Share this post Link to post Share on other sites
shark-attack 2 Posted April 9, 2007 Quote[/b] ]You have commented out the server check line at least. by having ; before ?! (local server) : exit ?? thanx for reply Share this post Link to post Share on other sites
shark-attack 2 Posted April 9, 2007 thanx a million mate ... nice one Share this post Link to post Share on other sites