Jump to content

DerToXXic

Member
  • Content count

    14
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About DerToXXic

  • Rank
    Private First Class
  1. Mission change with addaction

    How do I make the server authoritative? Unfortunately, I have no idea in this area.
  2. Mission change with addaction

    What do you mean with this? Sorry for my late answer but I hadn't the time for scripting in the last days.
  3. Hello, I'm wanted to make a interaction menu on every vehicle witch is spawned with Zeus. In the menu should be a repair button. Can somebody help me how I can do this?
  4. Mission change with addaction

    Works for me too.. My bad... Can I make a file for the whitelist? Because I have to edit every mission when we have a new admin...
  5. Hello, I have an TDM Mission and I have a Trigger witch teleports player to there spawn when they are out of map. But it doesn't work. It do nothing. //teleport/opfor.sqf _tele = _this select 0; _caller = _this select 1; _caller setPos (getpos (opforspawn)); //opforspawn is an marker name //"teleport/blufor.sqf" _tele = _this select 0; _caller = _this select 1; _caller setPos (getpos (bluforspawn)); //bluforspawn is an marker name //Trigger //Condition !(player in thislist) //On Activation if (side player == west) then { sleep 1; execVM "teleport\blufor.sqf"; }else{ execVM "teleport\opfor.sqf"; };
  6. Mission change with addaction

    Doesn't works params[ "_player", "_oldUnit" ]; _whiteList = ["76561198094190845","76561198137940548","76561198073926928","76561198175437134","76561198155468044"]; // enter ID's here //if on respawnOnStart OR uid not in whitelist - exit if ( isNull _oldUnit || { !( getPlayerUID _player in _whiteList ) } ) exitWith {}; _menu = [ [ "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\eject_ca.paa' /> <t color='#E6731A'>Mission wechseln</t>", {}, [], -1, false, false, "", "_target isEqualTo _this" ], [ [ "TDM 01", { [ "TDM_01.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ], [ "TDM 02", { [ "TDM_02.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ], [ "SWF Training's Mission", { [ "SWF_Training.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ] ] ]; [ _menu, _player, false, 5, [ true, true, true, false ] ] call LARs_fnc_menuStart;
  7. Mission change with addaction

    I'm using this script in my OnPlayerRespawn.sqf but the Menu doesn't visible... _whiteList = ["76561198094190845","76561198137940548","76561198073926928","76561198175437134","76561198155468044"]; // enter ID's here waitUntil {(getPlayerUID player) != ""}; _id = getPlayerUID player; if (_id in _whiteList) then { sleep 1; _menu = [ [ "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\eject_ca.paa' /> <t color='#E6731A'>Mission wechseln</t>", {}, [], -1, false, false, "", "_target isEqualTo _this" ], [ [ "TDM 01", { [ "TDM_01.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ], [ "TDM 02", { [ "TDM_02.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ], [ "SWF Training's Mission", { [ "SWF_Training.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ] ] ]; [ _menu, player, false, 5, [ true, true, true, false ] ] call LARs_fnc_menuStart; }else{ exitWith {}; };
  8. Mission change with addaction

    In my TDM Missions I need to make a UID reqest because everybody can join the Blufor Slots. But when I make a UID reqest it doesn't works. _whiteList = ["76561198094190845","76561198137940548","76561198073926928","76561198175437134","76561198155468044"]; // enter ID's here waitUntil {(getPlayerUID player) != ""}; _id = getPlayerUID player; if (_id in _whiteList) then { sleep 1; _menu = [ [ "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\eject_ca.paa' /> <t color='#E6731A'>Mission wechseln</t>", {}, [], -1, false, false, "", "_target isEqualTo _this" ], [ [ "TDM 02", { [ "TDM_02.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ], [ "TDM 03", { [ "TDM_03.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ], [ "SWF Training's Mission", { [ "SWF_Training.Altis" ] remoteExec[ "TAG_fnc_changeMission", 2 ] }, [], -1, false, false, "", "_target isEqualTo _this" ] ] true }else{ exitWith {}; }; ]; [ _menu, player, false, 5, [ true, true, true, false ] ] call LARs_fnc_menuStart; Sorry for my bad English... German ;)
  9. Mission change with addaction

    @Larrow When the admin doesn't logged in, it won't be use the servercommandpassword to make the mapchange. Can you change it? //EDIT: I changed it. Works fine...
  10. Mission change with addaction

    Yes, I have a Admin and a serverCommandPassword. Is it possible to make a master addAction, and the mapchange as second menu? So you can open the mastermenu and then you have the mapchanges.
  11. Mission change with addaction

    if (side player == west) then { sleep 1; { _mapName = _x select 0; _mapID = _x select 1; player addAction [format ["Map: %1", _mapName], { serverCommand format ["#mission %1", _mapID]; // server commands... // etc... // when loading the map, pass the argument _mapID }, _mapID, 0, false, false, "", ""]; // or use [_mapID, _blah] for multiple arguments (if needed) } forEach [["TDM 01", "TDM_01.Altis"], ["TDM 02", "TDM_02.Altis"], ["TDM 03", "TDM_03.Altis"], ["SWF_Training", "SWF_Training.Altis"]]; }; Is it right or did I have to make an admin login before the Mapchange?
  12. Mission change with addaction

    Thanks, I will test it in a second...
  13. Mission change with addaction

    @HazJ How do I add the Mapchange in your script? I have 4 Maps: "TDM_01.Altis" , "TDM_02.Altis" , TDM_03.Altis" , "SWF_Training.Altis
  14. Hello, i wanted to add a missionchange menu with addaction for all admins on the server. (Only admins are blufor) Now I have this script but it doesn't works... Can somebody help me with this? //--- Player init function missionchange_TDM01 = { serverCommand "#login swfadminswf"; waitUntil { serverCommand "#mission TDM_01.Altis" }; serverCommand "#logout"; }; waitUntil { !isNull player }; missionchange_TDM02 = { serverCommand "#login swfadminswf"; waitUntil { serverCommand "#mission TDM_02.Altis" }; serverCommand "#logout"; }; waitUntil { !isNull player }; missionchange_TDM03 = { serverCommand "#login swfadminswf"; waitUntil { serverCommand "#mission TDM_03.Altis" }; serverCommand "#logout"; }; waitUntil { !isNull player }; missionchange_Training = { serverCommand "#login swfadminswf"; waitUntil { serverCommand "#mission SWF_Training.Altis" }; serverCommand "#logout"; }; waitUntil { !isNull player }; //--- Add player action menu if (side player == west) then { sleep 1; menu = [ [ "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\eject_ca.paa' /> <t color='#E6731A'>Mission wechseln</t>", {}, [], -1, false, false, "", "" ], [ [ "TDM 01", { call missionchange_TDM01 }, [], -1, false, false, "", "" ], [ "TDM 02", { call missionchange_TDM02 }, [], -1, false, false, "", "" ], [ "TDM 03", { call missionchange_TDM03 }, [], -1, false, false, "", "" ], [ "SWF Training's Mission", { call missionchange_Training }, [], -1, false, false, "", "" ] ], ]; [ menu, player, false, 5, [ true, true, true, false ] ] call LARs_fnc_menuStart; };
×