Add new Vehicles to CfgPricing

This commit is contained in:
DESKTOP-UH65DCE\MusTanG 2017-07-03 17:39:37 -05:00
parent e906d29c9c
commit 9faac57e27
2 changed files with 22 additions and 1 deletions

View File

@ -4006,6 +4006,11 @@ class CfgPricing
{
price = 750;
};
class C_Offroad_01_EPOCH1: C_Offroad_01_EPOCH{};
class C_Offroad_01_EPOCH2: C_Offroad_01_EPOCH{};
class C_Offroad_01_EPOCH3: C_Offroad_01_EPOCH{};
class C_Offroad_01_EPOCH4: C_Offroad_01_EPOCH{};
class C_Offroad_01_EPOCH5: C_Offroad_01_EPOCH{};
class C_Quadbike_01_EPOCH
{
price = 500;
@ -4014,14 +4019,26 @@ class CfgPricing
{
price = 750;
};
class C_Hatchback_01_EPOCH1: C_Hatchback_01_EPOCH{};
class C_Hatchback_01_EPOCH2: C_Hatchback_01_EPOCH{};
class C_Hatchback_01_EPOCH3: C_Hatchback_01_EPOCH{};
class C_Hatchback_01_EPOCH4: C_Hatchback_01_EPOCH{};
class C_Hatchback_02_EPOCH
{
price = 1000;
};
class C_Hatchback_02_EPOCH1: C_Hatchback_02_EPOCH{};
class C_Hatchback_02_EPOCH2: C_Hatchback_02_EPOCH{};
class C_Hatchback_02_EPOCH3: C_Hatchback_02_EPOCH{};
class C_Hatchback_02_EPOCH4: C_Hatchback_02_EPOCH{};
class C_SUV_01_EPOCH
{
price = 750;
};
class C_SUV_01_EPOCH1: C_SUV_01_EPOCH{};
class C_SUV_01_EPOCH2: C_SUV_01_EPOCH{};
class C_SUV_01_EPOCH3: C_SUV_01_EPOCH{};
class C_SUV_01_EPOCH4: C_SUV_01_EPOCH{};
class C_Rubberboat_EPOCH
{
price = 500;
@ -4078,6 +4095,10 @@ class CfgPricing
{
price = 2500;
};
class B_G_Offroad_01_armed_EPOCH1: B_G_Offroad_01_armed_EPOCH{};
class B_G_Offroad_01_armed_EPOCH2: B_G_Offroad_01_armed_EPOCH{};
class B_G_Offroad_01_armed_EPOCH3: B_G_Offroad_01_armed_EPOCH{};
class B_G_Offroad_01_armed_EPOCH4: B_G_Offroad_01_armed_EPOCH{};
class B_Truck_01_transport_EPOCH
{
price = 1000;

View File

@ -23,7 +23,7 @@ if (isnull _veh) exitwith {
if (_UpgradeVeh isequalto "") exitwith {
diag_log "No Upgrade Vehicle Class";
};
if !(_removeCrypto isequalto []) && !(_removeCrypto isEqualTo 0) then {
if (!(_removeCrypto isequalto []) && !(_removeCrypto isEqualTo 0)) then {
[_player,-_removeCrypto] call EPOCH_server_effectCrypto;
};
_slot = _veh getvariable ["vehicle_slot","-1"];