mirror of
https://github.com/Bjanski/ExAd.git
synced 2024-08-30 16:52:14 +00:00
1.2 KiB
1.2 KiB
Installation
Remember for this plugin to work you first need to install
Client
-
Make sure the VehicleSalvage folder is present in mpmissions\missionname.mapname\ExAdClient
-
Goto "mpmissions\exile.\ExAdClient\CfgFunctions" and uncomment
From
//#include "VehicleSalvage\CfgFunctions.cpp"
To
#include "VehicleSalvage\CfgFunctions.cpp"
-
In "config.cpp" find "CfgInteractionMenus"
-
Under CfgInteractionMenus you will see "class Car"
-
Add to the bottom of "class Car" menus this:
class ExAdSalvage: ExileAbstractAction
{
title = "<t color='#ff0000'>ExAd Salvage Aircraft</t>";
condition = "(!(alive (ExileClientInteractionObject)))";
action = "_this call ExAd_fnc_vehicleSalvage";
};
-
Make sure it follows the formatting of the rest of the actions.
-
Repeat this to add it to "class Air", "class Boat" and "class Tank" if you have it. Vanilla servers do not have "class Tank" so you may need to add it yourself.
ALL DONE! Enjoy :D