Jump to content

Leigham

Member
  • Posts

    322
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Leigham

  1. [] spawn {	waitUntil{player == player};
    	if(isMultiplayer)then{
    		waitUntil{!isNull (uiNameSpace getVariable ["EPOCH_loadingScreen", displayNull])};
    		waitUntil{isNull (uiNameSpace getVariable "EPOCH_loadingScreen")};
    	};
    waituntil {!(IsNull (findDisplay 46))};  
    keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 200) then {_lunge = player execVM 'scripts\Actionmenu\AMEXEC.sqf'}"];
    	
    		Sleep 2;
    titleText ["Action Menu Loaded! Press Right Windows Key To Activate!", "PLAIN DOWN", 3];
    };	
    
    file starting the action menu 
    
    (finddisplay 46) displayremoveeventhandler ['KeyDown',keyDown];   //Removing the EH to start Again,
    
    
    keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 200) then {_lunge = player execVM 'scripts\Actionmenu\AMEXEC.sqf'}"];//Adding the EH to use again.
    
    
    

    and im getting this 

    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'})>
    19:02:57   Error position: <)>
    19:02:57   Error Missing ;
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'})>
    19:02:57   Error position: <)>
    19:02:57   Error Missing ;
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'})>
    19:02:57   Error position: <)>
    19:02:57   Error Missing ;
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'})>
    19:02:57   Error position: <)>
    19:02:57   Error Missing ;
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'}>
    19:02:57   Error position: <>
    19:02:57   Error Missing )
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'}>
    19:02:57   Error position: <>
    19:02:57   Error Missing )
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'}>
    19:02:57   Error position: <>
    19:02:57   Error Missing )
    19:02:57 Error in expression < execVM 'scripts\Actionmenu\AMEXEC.sqf'}>
    19:02:57   Error position: <>
    19:02:57   Error Missing ) 
    

    Any Ideas ? 

×
×
  • Create New...