ExAd/docs/XM8/installation.md
Bjanski 862957bb28 Docs Updated
Docs Updated
2016-07-03 20:39:10 +02:00

1.1 KiB

Installation

Remember for this plugin to work you first need to install

Client

  • Place the folder "XM8" into "mpmissions\exile.\ExAdClient"

  • Goto "mpmissions\exile.\ExAdClient\CfgFunctions" and uncomment

From

        //#include "XM8\CfgFunctions.cpp"	 

To

        #include "XM8\CfgFunctions.cpp"	
  • In "config.cpp" in the mission root folder, find class CfgExileCustomCode and add the following row
	ExileClient_gui_xm8_slide = "ExAdClient\XM8\CustomCode\ExileClient_gui_xm8_slide.sqf";
	ExileClient_gui_xm8_show = "ExAdClient\XM8\CustomCode\ExileClient_gui_xm8_show.sqf";  
  • In "config.cpp" in the mission root folder, create following class "CfgXM8", e.g. with Virtual Garage app
class CfgXM8
{
	extraApps[] = {"ExAd_VG"};
	
	class ExAd_VG 
	{
		title = "Virtual Garage";
		controlID = 50000;					//IDC:50000 -> 50014
		onLoad = "ExAdClient\XM8\Apps\VG\onLoad.sqf";
		onOpen = "ExAdClient\XM8\Apps\VG\onOpen.sqf";
		onClose = "ExAdClient\XM8\Apps\VG\onClose.sqf";
	};
};