Jump to content
Sign in to follow this  
juandayz

Open Trader Menu with TAB [For adms][TestServers]

Recommended Posts

Humanity menu options.

dayz_code\actions\AdvancedTrading\init.sqf

Find.

disableSerialization;

Replace with.


disableSerialization;
// Bambi
if (player getVariable ["humanity",0] >= -5000 && player getVariable ["humanity",0] <= 5000) then {		
	Z_traderData = (menu_Dr_Hladik_EP1 select 0);
	systemChat("Bambi Trader Menu Opened");
};	
// Hero
if (player getVariable ["humanity",0] >= 5000) then {																								
	Z_traderData = (menu_RU_Functionary1 select 0);
	systemChat("Hero Trader Menu Opened");
};	
// Bandit
if (player getVariable ["humanity",0] <= -5000) then {								
	Z_traderData = (menu_GUE_Soldier_MG select 0);
	systemChat("Bandit Trader Menu Opened");
};

 

server_traders.sqf example. -dont use.

Spoiler
serverTraders = ["RU_Functionary1","Dr_Hladik_EP1","GUE_Soldier_MG"];

/*---------------------- NEUTRAL ----------------------*/
menu_Dr_Hladik_EP1 = [[
["Land Vehicles",27],
["Air Vehicles",28],
["Planes",26],
["Sea Vehicles",29],
["Armed Sea Vehicles",30]
],
	[],
	"neutral"		
];

/*--- HERO VENDORS ---*/
menu_RU_Functionary1 = [[
["Land Vehicles",27],
["Armed Vehicles",41],
["Air Vehicles",28],
["Armed Air Vehicles",42],
["Planes",26],
["Sea Vehicles",29],
["Armed Sea Vehicles",30]
],
	[],
	"hero"
];

/*--- BANDIT VENDORS ---*/
menu_GUE_Soldier_MG = [[
["Land Vehicles",27],
["Armed Vehicles",41],
["Air Vehicles",28],
["Armed Air Vehicles",42],
["Planes",26],
["Sea Vehicles",29],
["Armed Sea Vehicles",30]
],
	[],
	"hostile"
];

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By Tricks
      We are back! Ranked 7th overall in 2014! Classic DayZ Epoch PvP Server!! No stupid start bonus, no heavy military. Just classic Epoch gameplay with new updates!

       
      - Top of the Line Hardware - Overclocked 8700k servers with SSDs. Super high FPS!!

      - XP System & XP Trader - Acquire handy Perks, Skills, and Permits with our XP system!

      - Custom Traders - Totally custom traders unique to this server!

      - Military Bases - High Loot areas perfect for gearing up.

      - Custom Map Content - Aircraft Carriers, Secret Military Bases, New Towns, and more!

      - All The Major Mods - All the major mods like Coin System, Heli Evac, Hide from Zeds, and many more.

      - Lots of AI Missions - Challenging AI missions color-coded by difficulty.

      - Custom AI Missions for Groups - Static missions with super high difficulty and major loot rewards!

      - Realistic Loot Spawns - You wont find high-powered weapons while hunting for loot, realistic loot spawns.

      - No Heavy Weapons, Tanks, Attack Choppers, Jets - Just the classic Epoch vehicles with a few new additions!

      - Lots of Vehicles - Lots of vehicles scattered around the map. Some are ready to go, others need to be fixed first!

      - Base Building - Fully modular base building system with unique build items and crafting recipes.

      - Full Day/Night Cycle - Realistic day and night cycle, no stupid 24 hours daylight!!

      - Full Weather System - Rain, thunderstorms and snow in the winter!!

      - Destructible Base/Garage Doors - Base raiding without losing your whole base! Just the doors are destructible.

      - Abandoned Safes/Lockboxes - Abandoned bases will have their safes unlocked for you to raid!!

      - Fresh Server, All The Best Base Locations Still Available! - No more wipes, server is done and all progress will be saved.

      - Regular Updates/Suggestions Considered - Pass along ideas to the admin staff. We consider all changes.

      - Admin Events - Events with High Loot and great times! See pic below.

      - Active Admin Staff - Find us on Discord anytime or by email!





      Connect to us on DayZ Launcher or directly:

      [SHG]ClassicEpoch|XPSystem|CustomTraders|CustomAImissions|Coins|FPS++

      144.217.62.76:2302

      Discord: http://xn--discrd-zxa.com/join.php?v=OXHD95

      Email: [email protected]

      Website: Under construction


    • By Tricks
      I have been browsing the forums looking for unique mods to add to my server. I noticed Juandayz deleted a lot of his mods before leaving the community. Just curious if anyone has them all and would possibly repost them giving him full credit? I am particularly interested in his "Admin Skin" and "Debug" mods.
       
      Thanks community, here's hoping someone will step up!
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By juandayz
      VIDEO:
      If (You dont have a custom compiles.sqf or a custom keyboard.sqf) exitWith { step1;}else{ proceed with step 2; } forEach user; 1-Making a custom compiles.sqf and custom keyboard.sqf
       
       
      2-In your CUSTOM!!! keyboard.sqf at bottom but before the last "_handled" paste:
      3-Create remote_key.sqf  (mpmissions\your instance\scripts\ )
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...