Results 1 to 3 of 3
  1. #1
    I'M GONNA HAVE TO EAT EVERY F--KING CHICKEN
    MPGH Member
    Chris's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    1,086
    Reputation
    29
    Thanks
    2,780
    My Mood
    Psychedelic

    In need of scripting help

    I used Afitz's 'EASYTM' to create a menu but whenever I try load the menu nothing happens :L Here is the code, I hope someone can help and tell me what the problem is...
    Code:
    //	EASY TM! By afitz200 for MPGH.com!
    //  EASYTM menu has been modified by afitz200!
    //  Distribution will go against afitz200's Terms Of Use!
    //  And will result into a ban on website downloaded from!
    //  And editing of this text applies also!
    //  
    //  Terms Of Use:
    //  You are allow to sell the menu you make with this
    //  It must still say EASYTM made by afitz200,MPGH! in the map section
    //  KEEP THIS TEXT IN HERE
    //  You may freely upload this anywhere, When other download make sure the agree to these TOU!
    //  You may freely edit this menu except for the Map title!
    //  Afitz200 or any affiliates/partners are not responsible for: Damage of property, Banning,Or any modifications this puts on your system!
    //  YOU WILL NOT RE RELEASE EASYTM UNDER YOUR NAME! YOU MAY ADD OPTIONS AND RELEASE THE MENU WITH OPTIONS!
    //  DO NOT SELL EASYTM AS IS!
    //  FOR USING THIS IM NOT ASSOCIATED WITH YOU!
      
      
    //  By using this menu/downloading/viewing this text. you agree to these terms!
    
    
    
    
    
    //KEY:
    // @@@ Info
    // ### Editiable
    
    
    
    
    
    
    
    
    
    
    
    
    
    //DONT TOUCH THIS:;
    // DayZ Hack Directory;
    HMDIR = "EASYTM\";
    // Menu Scripts directory
    HDIR  = "EASYTM\Menu_Scripts\";
    
    
    //###CONFIG###
    // MENU TITLE IS THE MAIN TITLE UP TOP
    MENUTITLE = "EASYTM Hacks";
    
    //This is ur version section :)
    VTITLE = "Version 1";
    
    
    // NOTE: These are the buttons on the side of the panel!
    // NOTE: These do nothing, Just text :) Leave blank for them to dissapear :D
    //This is the button under Close! (Button 3)
    BTN3 = "";
    
    //This is the button under Button 3 (Button 4)
    BTN4 = "";
    //###END CONFIG###
    
    
    // Don't touch this!
    option = []; img = [""];
    
    // Edit menu scripts here.
    // Format: hack name, path, togglable, color (should be 0), var (should be 0)
    
    ///@@@INFO@@@
    /* @@@INFO@@@
    FIRST OFF LETS DEFINE SOME AREAS
    Config,Menu. 
    Config are options YOU can change without fucking  up the menu
    Menu is the area where anything u put in there will endup in the menu!
    */
    
    //@@@HOW TO ADD ITEMS TO MENU!@@@
    /*
    Copy and paste this in the area where you would like to have the text appear!
    
    img = img + [""]; option = option + ["Text","empty.sqf","0","0","0"]; 
    
    dont touch anything besides ["text"] ,"empty.sqf",and the first 0!
    
    Text, Is what it will say in the menu!
    Empty.sqf Is the script it will use! Please put your scripts into the Menu_Scripts folder (Drag and Drop) then copy and paste the name where Empty.sqf is!
    The first 0, you can change this to 1 to be a toggable item (Turns red or green when ran!)
    all the rest you want left alone!
    And keep adding more and more stuff and make sure to save!
    If the menu wont open Revert back a bit. it means u did something wrong!
    */
    
    
    //###MENU###
    img = img + [""]; option = option + ["======== Main ========","Repair.sqf","0","0","0"];
    img = img + [""]; option = option + ["God Mode","godmode.sqf","1","0","0"];
    img = img + [""]; option = option + ["God Mode (vehicle)","Vcgm.sqf","1","0","0"];
    img = img + [""]; option = option + ["No Grass","Vng.sqf","1","0","0"];
    img = img + [""]; option = option + ["ESP","Vesp.sqf","1","0","0"];
    img = img + [""]; option = option + ["Player ESP (Map)","!sp.sqf","1","0","0"];
    img = img + [""]; option = option + ["Vehicle ESP (Map)","!vp.sqf","1","0","0"];
    img = img + [""]; option = option + ["No Recoil","Vnr.sqf","1","0","0"];
    img = img + [""]; option = option + ["Infinite Ammo","Ammo.sqf","1","0","0"];
    img = img + [""]; option = option + ["Speed Boost For Vehicles","Vss.sqf","0","0","0"];
    img = img + [""]; option = option + ["Flip Vehicle","VehicleFlip.sqf","0","0","0"];
    img = img + [""]; option = option + ["Teleport","teleport.sqf","0","0","0"];
    img = img + [""]; option = option + ["Repair","Repair.sqf","0","0","0"];
    img = img + [""]; option = option + ["Fighter Jet","A10.sqs","0","0","0"];
    img = img + [""]; option = option + ["Fighter Jet Squad","A10Backup.sqf","0","0","0"];
    img = img + [""]; option = option + ["Spawn Weapon Crate (all weapons (global))","Vb1.sqf","0","0","0"];
    img = img + [""]; option = option + ["Spawn Weapon Crate (all weapons (local))","Vb1b.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Invisible ========","Repair.sqf","0","0","0"];
    img = img + [""]; option = option + ["On","invisinit.sqf","0","0","0"];
    img = img + [""]; option = option + ["Off","invisinit.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Griefing ========","Repair.sqf","0","0","0"];
    img = img + [""]; option = option + ["Crash The Server","Vcrash.sqf","0","0","0"];
    img = img + [""]; option = option + ["Delete Gear","wuat.sqf","0","0","0"];
    img = img + [""]; option = option + ["Give Gear (DMR)","wuat.sqf","0","0","0"];
    img = img + [""]; option = option + ["Break Legs","wuat.sqf","0","0","0"];
    img = img + [""]; option = option + ["Fix Legs","wuat.sqf","0","0","0"];
    img = img + [""]; option = option + ["Scare People (BE message)","Vsm.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Mini-Gins (Press F to activate) ========","Repair.sqf","0","0","0"];
    img = img + [""]; option = option + ["Give Mini-Gun (YakB)","Vmg1.sqf","0","0","0"];
    img = img + [""]; option = option + ["Give Mini-Gun (Gua8)","Vmg2.sqf","0","0","0"];
    img = img + [""]; option = option + ["Give Mini-Gun (M197)","Vmg3.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Antagonise others ========","Repair.sqf","0","0","0"];
    img = img + [""]; option = option + ["KillMan","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["LockMan","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["UnlockMan","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["LockAir","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["UnlockAir","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["LockTank","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["UnlockTank","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["LockCar","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["UnlockCar","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["HitBackRottor","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["HitChopperEngine","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["DestroyAir","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["DestroyCar","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["DestroyTank","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["DestroyBuilding","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["EjectPlayer","VehicleOwn.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Life ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Be a cop","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Add Cash","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Add Cash 12143","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Remove Cash","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Faster Respawn","VehicleOwn.sqf","1","0","0"];
    img = img + [""]; option = option + ["Longer Respawn","VehicleOwn.sqf","1","0","0"];
    img = img + [""]; option = option + ["Infinite Petrol","VehicleOwn.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== ChangeSkins ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Break Everything","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Cock","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Cow01","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Cow02","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Cow03","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Warlord","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Fin","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Goat","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Hen","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Pastor","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Rabbit","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Sheep","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["WildBoar","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Farmwife1","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Hooker1","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Ins_Bardak","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["INS_Soldier_2","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Ins_Soldier_Pilot","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Citizen4","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Doctor","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["Priest","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["GUE_Commander","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["GUE_Soldier_Scout","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["RUS_Soldier1","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["USMC_LHD_Crew_Blue","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["USMC_Soldier_Pilot","wcharecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["CDF_Soldier_Light","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["CDF_Soldier","charecter.sqf","0","0","0"];
    img = img + [""]; option = option + ["****You Know****","VehicleOwn.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["========   ChangeSkins2   ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Sniper","skins.sqf","0","0","0"];
    img = img + [""]; option = option + ["Camo","skins.sqf","0","0","0"];
    img = img + [""]; option = option + ["Male","skins.sqf","0","0","0"];
    img = img + [""]; option = option + ["Female","skins.sqf","0","0","0"];
    img = img + [""]; option = option + ["Rocket","skins.sqf","0","0","0"];
    img = img + [""]; option = option + ["Soldier","skins.sqf","0","0","0"];
    img = img + [""]; option = option + ["Zombie (USE ON OTHERS)","skins.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Time ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["0","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["1am","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["3am","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["5am","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["7am","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["9am","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["11am","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["13pm","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["15pm","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["17pm","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["19pm","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["21pm","time.sqf","0","0","0"];
    img = img + [""]; option = option + ["23pm","time.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== VIEW DISTANCE ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["1","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["250","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["500","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["1000","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["1500","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["2000","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["2500","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["3000","VDistance.sqf","0","0","0"];
    img = img + [""]; option = option + ["10000","VDistance.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== WEATHER ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Clear","weather.sqf","0","0","0"];
    img = img + [""]; option = option + ["Partly Sunny","weather.sqf","0","0","0"];
    img = img + [""]; option = option + ["Cloudy","weather.sqf","0","0","0"];
    img = img + [""]; option = option + ["Rain","weather.sqf","0","0","0"];
    img = img + [""]; option = option + ["Heavy Rain","weather.sqf","0","0","0"];
    img = img + [""]; option = option + ["Storm","weather.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== RAIN ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["NoRain","rain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Partly Rain","rain.sqf","0","0","0"];
    img = img + [""]; option = option + ["A little Rain","rain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Rain","rain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Heavy Rain","rain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Mega Rain","rain.sqf","0","0","0"];
    
    img = img + [""]; option = option + ["======== Terrain ========","VehicleOwn.sqf","0","0","0"];
    img = img + [""]; option = option + ["Very High","terain.sqf","0","0","0"];
    img = img + [""]; option = option + ["High","terain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Normal","terain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Low","terain.sqf","0","0","0"];
    img = img + [""]; option = option + ["Very Low","terain.sqf","0","0","0"];
    
    
    
    #define GET_DISPLAY (findDisplay 155)
    #define GET_CTRL(a) (GET_DISPLAY displayCtrl ##a)
    #define GET_SELECTED_DATA(a) ([##a] call {_idc = _this select 0;_selection = (lbSelection GET_CTRL(_idc) select 0);if (isNil {_selection}) then {_selection = 0};(GET_CTRL(_idc) lbData _selection)})
    #define KINDOF_ARRAY(a,b) [##a,##b] call {_veh = _this select 0;_types = _this select 1;_res = false; {if (_veh isKindOf _x) exitwith { _res = true };} forEach _types;_res}
    #define balca_VC_vehlist_IDC = 101
    
    	img = img + [""]; option = option + ["========  Weapons   ========","VehicleOwn.sqf","0","0","0"];
    
    hint "Generating Vehicle listings.";
    		_kindOf = ["Car"];
    		_filter = ["BIS_Steerable_Parachute"];	
    		_filter1 = ["ParachuteBase"];		
    		_cfgvehicles = configFile >> "cfgWeapons";
    
    		for "_i" from 0 to (count _cfgvehicles)-1 do {
    			_vehicle = _cfgvehicles select _i;
    			if (isClass _vehicle) then {
    				_veh_type = configName(_vehicle);
    				if ((getNumber(_vehicle >> "scope")==2)and(getText(_vehicle >> "picture")!="")) then {
              
    					img = img + [format["%1",getText(_vehicle >> "picture")]];
    					 option = option + [format["%1",_veh_type],"AddWepon.sqf","0","0","0"];
    
    				};
    			};
    			};
    			
    progressLoadingScreen 0.2;
    
    img = img + [""]; option = option + ["========  Air Vehicle Spawner   ========","VehicleOwn.sqf","0","0","0"];
    
    hint "Generating Vehicle listings.";
    		_kindOf = ["air"];
    		_filter = ["BIS_Steerable_Parachute"];	
    		_filter1 = ["ParachuteBase"];		
    		_cfgvehicles = configFile >> "cfgVehicles";
    
    		for "_i" from 0 to (count _cfgvehicles)-1 do {
    			_vehicle = _cfgvehicles select _i;
    			if (isClass _vehicle) then {
    				_veh_type = configName(_vehicle);
    				if ((getNumber(_vehicle >> "scope")==2)and(getText(_vehicle >> "picture")!="")and(KINDOF_ARRAY(_veh_type,_kindOf))and!(KINDOF_ARRAY(_veh_type,_filter))and!(KINDOF_ARRAY(_veh_type,_filter1))) then {
    					  img = img + [format["%1",getText(_vehicle >> "picture")]];
    					  option = option + [format["%1",_veh_type],"!spawnvehicle2.sqf","0","0","0"];
    
    
               
    				};
    			};
    		};
    				
    progressLoadingScreen 0.4;		
    		
    img = img + [""]; option = option + ["========  Tank Vehicle Spawner   ========","VehicleOwn.sqf","0","0","0"];
    
    hint "Generating Vehicle listings.";
    		_kindOf = ["Tank"];
    		_filter = ["BIS_Steerable_Parachute"];	
    		_filter1 = ["ParachuteBase"];		
    		_cfgvehicles = configFile >> "cfgVehicles";
    
    		for "_i" from 0 to (count _cfgvehicles)-1 do {
    			_vehicle = _cfgvehicles select _i;
    			if (isClass _vehicle) then {
    				_veh_type = configName(_vehicle);
    				if ((getNumber(_vehicle >> "scope")==2)and(getText(_vehicle >> "picture")!="")and(KINDOF_ARRAY(_veh_type,_kindOf))and!(KINDOF_ARRAY(_veh_type,_filter))and!(KINDOF_ARRAY(_veh_type,_filter1))) then {
              
    					 img = img + [format["%1",getText(_vehicle >> "picture")]];
    					  option = option + [format["%1",_veh_type],"!spawnvehicle2.sqf","0","0","0"];
    
    				};
    			};
    		};
    	
    progressLoadingScreen 0.8;	
    	
    	img = img + [""]; option = option + ["========  Car Vehicle Spawner   ========","VehicleOwn.sqf","0","0","0"];
    
    hint "Generating Vehicle listings.";
    		_kindOf = ["Car"];
    		_filter = ["BIS_Steerable_Parachute"];	
    		_filter1 = ["ParachuteBase"];		
    		_cfgvehicles = configFile >> "cfgVehicles";
    
    		for "_i" from 0 to (count _cfgvehicles)-1 do {
    			_vehicle = _cfgvehicles select _i;
    			if (isClass _vehicle) then {
    				_veh_type = configName(_vehicle);
    				if ((getNumber(_vehicle >> "scope")==2)and(getText(_vehicle >> "picture")!="")and(KINDOF_ARRAY(_veh_type,_kindOf))and!(KINDOF_ARRAY(_veh_type,_filter))and!(KINDOF_ARRAY(_veh_type,_filter1))) then {
              
    					img = img + [format["%1",getText(_vehicle >> "picture")]];
    					 option = option + [format["%1",_veh_type],"!spawnvehicle2.sqf","0","0","0"];
    
    				};
    			};
    			};
    
    ////////////////////////////////
    
    
    
    };
    
    //###END MENU###
    //DONT EVER TOUCH THIS! EVAR!!!!
    execVM format['%1menu\menu_generate.sqf',HDIR];
    
    // End file
    Vouch Thread
    Thank or +rep me if I helped you ★


  2. #2
    w33n33s's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    0
    it might be a problem with the layout of your folders. Make sure that you have the menu_generate.sqf located in EasyTM\Menu_Scripts\Menu

  3. #3
    Threadstarter
    I'M GONNA HAVE TO EAT EVERY F--KING CHICKEN
    MPGH Member
    Chris's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    1,086
    Reputation
    29
    Thanks
    2,780
    My Mood
    Psychedelic
    Quote Originally Posted by w33n33s View Post
    it might be a problem with the layout of your folders. Make sure that you have the menu_generate.sqf located in EasyTM\Menu_Scripts\Menu
    It's there, I really haven't a clue why it's not working. I'm clueless when it comes to coding :L
    Vouch Thread
    Thank or +rep me if I helped you ★


Similar Threads

  1. Need some script help
    By oxeem in forum DayZ Discussion
    Replies: 0
    Last Post: 02-08-2013, 08:24 AM
  2. Teleport script :) need someone to help adjust
    By aboyd1991 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 13
    Last Post: 09-03-2012, 03:08 AM
  3. [Help] Scripting help needed. Would this be possible?
    By LulzCode in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 4
    Last Post: 08-18-2012, 06:13 PM
  4. Need A little help with Scripting, bot
    By kagome in forum Vindictus Help
    Replies: 4
    Last Post: 07-23-2011, 08:23 AM
  5. Help I need a script MTA perspective
    By zky3197 in forum Mission Against Terror Discussions
    Replies: 1
    Last Post: 07-15-2011, 05:56 PM