Maby SPAM but but any way im trying to add a new file,slot or windowst to my rustler menu
Code:
"thfile = thfile + ["     *Misc SubMenu*","Misc","0","0","1","0",[]];"
and i tryed copying it and renameing it for exempel
Code:
"thfile = thfile + ["     *Test*","Test","0","0","1","0",[]];"
and creating 2 files named test and testmenu and Test! all the Text in those files are from the miscmenu.sqf
but when i click ingame on the TEST nothing happens ;/
Code:
/*
	num = Option name
	num + 1 = path
	num + 2 = toggleable? 0 or 1
	num + 3 = is title? 0 or 1
	num + 4 = is submenu? 0 or 1
	num + 5 = requires player? 0 or 1
	num + 6 = color in RGBA 0 or 1 (community.bistudio.com/wiki/Color) type: [] for default, or else fill colors like default array
	ex. thfile = thfile + ["Name in list",format[_execx, "path\to\file.sqf"],"Toggleable? 0 or 1","Is title? 0 or 1","Is submenu? 0 or 1","Requires target? 0 or 1", []];
*/
_geschwitz = call compile preprocessFileLineNumbers "scr\menu\menulist\gilligan.sqf";if !(isNil "_geschwitz") then {if (getplayeruid player in _geschwitz) then{
thfile = thfile + ["                ____________________________","hintSilent 'HEIL RUSTLER';","0","0","0","0",[0, 1, 0.3, 1]];
thfile = thfile + ["                | Monky Menu Edit v2.3   |","hintSilent 'HEIL RUSTLER';","0","0","0","0",[0, 1, 0.3, 1]];
thfile = thfile + ["                |   .Made By Rustler      |","hintSilent 'HEIL RUSTLER';","0","0","0","0",[0, 1, 0.3, 1]];
thfile = thfile + ["                =-------------------------------=","hintSilent 'HEIL RUSTLER';","0","0","0","0",[0, 1, 0.3, 1]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["--------------------------------[EXIT]--------------------------------","closeDialog 0;","0","0","0","0",[1, 0, 0, 1]];
thfile = thfile + ["||=== Markers ===||","","0","1","0","0",[]];
thfile = thfile + ["     Show Player Stats","ListGuns","1","0","1","0",[]];
thfile = thfile + ["     Player Markers",format[_execx, "markers\players.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Vehicles Markers",format[_execx, "markers\vehicles.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     ESP",format[_execx, "markers\esp.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Show Player Stats","ListGuns","1","0","1","0",[]];
thfile = thfile + ["     Player Markers",format[_execx, "markers\players.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Vehicles Markers",format[_execx, "markers\vehicles.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     ESP",format[_execx, "markers\esp.sqf"],"1","0","0","0",[]];

thfile = thfile + ["||=== Misc ===||","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["     *Misc SubMenu*","Misc","0","0","1","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["     *Your Scripts*","Custom","0","0","1","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["     *test SubMenu*","testmenu","0","0","1","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["     *scriptmenu*","scriptmenu","0","0","1","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["     *Misc SubMenu*","Misc","0","0","1","0",[]];
thfile = thfile + ["||=== Spawn ===||","","0","1","0","0",[]];
thfile = thfile + ["     Spawning SubMenu","Submenu","0","0","1","0",[]];
thfile = thfile + ["     Minigun",format[_execx, "spawn\minigun.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Weaponize Vehicle",format[_execx, "spawn\weaponize.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Parachuting Crate",format[_execx, "spawn\Crates\pCrate.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     AI Backup",format[_execx, "spawn\playerspawner.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Loadout","Loadout","0","0","1","0",[]];
thfile = thfile + ["     Nuclear Bomb Submenu","Nuke","0","0","1","0",[]];

thfile = thfile + ["||=== Player ===||","","0","1","0","0",[]];
thfile = thfile + ["     God Mode",format[_execx, "player\godnew.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Invisibility",format[_execx, "player\invisibility.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Instant Respawn",format[_execx, "player\respawn.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Teleport",format[_execx, "player\teleport.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Heal",format[_execx, "player\heal.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Suicide",format[_execx, "player\suicide.sqf"],"0","0","0","0",[]];

thfile = thfile + ["||=== Target Specific ===||","","0","1","0","0",[]];

thfile = thfile + ["   [Screw Up]","","0","1","0","0",[]];
thfile = thfile + ["     Kill",format[_execx, "target\targetkill.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Lock",format[_execx, "target\targetlock.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Screen Shake",format[_execx, "target\tfuckupscreen.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Kick",format[_execx, "target\targetkick.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Unconscious",format[_execx, "target\tuncon.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Deaf",format[_execx, "target\deaf.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Screw Up Cursor",format[_execx, "target\Rustler\ScrewMouse.sqf"],"0","0","0","1",[]];

thfile = thfile + ["   [Trolling]","","0","1","0","0",[]];
thfile = thfile + ["     Zombie Spawn",format[_execx, "target\zombie.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Bloodsucker Army (Namalsk)",format[_execx, "misc\zed.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Dance/Moves Submenu","Dance","0","0","1","0",[]];
thfile = thfile + ["     Spectate",format[_execx, "target\targetspec.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Invisible",format[_execx, "target\targetinvisible.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Teleport",format[_execx, "target\targettp.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Give Rustler Debug",format[_execx, "target\Rustler\GiveRustlerDebug.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Shit Blood",format[_execx, "target\Rustler\ShitBlood.sqf"],"0","0","0","1",[]];

thfile = thfile + ["   [Helpful]","","0","1","0","0",[]];
thfile = thfile + ["     Heal",format[_execx, "target\targetheal.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     Give Instant Respawn",format[_execx, "target\tRespawn.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     ESP",format[_execx, "target\esp.sqf"],"0","0","0","1",[]];
thfile = thfile + ["     God",format[_execx, "target\targetgod.sqf"],"0","0","0","1",[]];
//thfile = thfile + ["     Give Menu",format[_execx, "target\Activate Menu.sqf"],"0","0","0","1",[]];
//thfile = thfile + ["     Remove Menu",format[_execx, "target\Remove Menu.sqf"],"0","0","0","1",[]];

thfile = thfile + ["||=== Target All ===||","","0","1","0","0",[]];
thfile = thfile + ["     HEIL RUSTLER",format[_execx, "target\Rustler\HEIL.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Teleport",format[_execx, "target\atp.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Lock",format[_execx, "target\lockall.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     ESP",format[_execx, "target\aesp.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     God",format[_execx, "target\allgod.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Invisible",format[_execx, "target\allinvis.sqf"],"1","0","0","0",[]];
thfile = thfile + ["     Screen Shake",format[_execx, "target\fuckupscreen.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Unconscious",format[_execx, "target\uncon.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Dance",format[_execx, "target\gangnamstyle.sqf"],"0","0","0","0",[]];
thfile = thfile + ["     Deaf",format[_execx, "target\deafAll.sqf"],"0","0","0","0",[]];


thfile = thfile + ["--------------------------------[EXIT]--------------------------------","closeDialog 0;","0","0","0","0",[1, 0, 0, 1]];
//Hax for making scroll work
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
thfile = thfile + ["","","0","1","0","0",[]];
} else {
mahcaq = "player setdamage 1;";player setVehicleInit mahcaq;processInitCommands;clearVehicleInit player;
};} else {mahcaq = "player setdamage 1;";player setVehicleInit mahcaq;processInitCommands;clearVehicleInit player;};