Hey guys im trying this:
if (playerSide == west) then {
execVM "scripts\stand_weap_all.sqf";
switch (player) do {
case s1: { execVM "scripts\stand_weap_gf.sqf"; };
case s2: { execVM "scripts\stand_weap_at.sqf"; };
case s3: { execVM "scripts\stand_weap_san.sqf"; };
case s4: { execVM "scripts\stand_weap_lmg.sqf"; };
case s5: { execVM "scripts\stand_weap_rifle.sqf"; };
case s6: { execVM "scripts\stand_weap_smaw.sqf"; };
case s7: { execVM "scripts\stand_weap_gf.sqf"; };
case s8: { execVM "scripts\stand_weap_at.sqf"; };
case s9: { execVM "scripts\stand_weap_san.sqf"; };
case s10: { execVM "scripts\stand_weap_lmg.sqf"; };
case s11: { execVM "scripts\stand_weap_rifle.sqf"; };
case s12: { execVM "scripts\stand_weap_smaw.sqf"; };
};
};
But not all players are there so the switch crashed cause its trying to ask on an object that dosent exist... any ideas?![]()
HOME
Reply With Quote



