English Vehicle Mod Shop

  • Auteur de la discussion Auteur de la discussion I'm the Boss
  • Date de début Date de début

I'm the Boss

Admin
2/1/20
657
3
43
1 100
Difficulty: Easy

Author: Maximum

Edited for the use of 4.4+

Description: Gives you the option to change your vehicle's color. Color options are all RGB colors. This does not save to your database.

Preview: https://gyazo.com/79cb924a0a5fba88da93a08c36eaf7d5

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Files: click me

Download the files and place them in the folders that they lead to.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Now go to you "Functions.hpp" which is located in missionfolder and add the following:
Code:
Développer Réduire Copier
class Modshop
	{
		file = "core\modshop";
		class modShopClose {};
		class modShopInit {};
		class modShopSave {};
		class modShopUpdate {};
	};
Then in the Civilian class underneath

Code:
Développer Réduire Copier
class tazed {};
add the following:

Code:
Développer Réduire Copier
class zoneCreator {};
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Now go to your "MasterHandler.hpp" which is located in "missionfolder\dialogs" and add this at the bottom:

Code:
Développer Réduire Copier
#include "modshop.hpp"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Now go to "fn_initCiv.sqf" which is located in "missionfolder\core" and add the following at the very bottom:

Code:
Développer Réduire Copier
[] call life_fnc_zoneCreator;
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━



Now go into the editor, add an empty marker and call it modshop_1.

You can add more markers in the "fn_zoneCreator.sqf " file here:

Code:
Développer Réduire Copier
foreach ["modshop_1","modshop_2","modshop_3","modshop_4","modshop_5","anothermarker"];
Remember to add the new markers on the map as well, for it to work.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 
Activité
Pour l'instant, il n'y a personne ici