Updated to match configs and fix timer.

This commit is contained in:
[GADD]Monkeynutz 2017-11-28 18:10:38 +00:00 committed by GitHub
parent 09e435e85e
commit fb7c47242e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,11 +65,11 @@ ExAd_XM8_DV_fnc_pack = {
ExAd_XM8_DV_fnc_spawnVehicle = {
params["_slideClass","_bambiState","_delopyRecipe","_vehicleClass"];
if !(vehicle player == player) exitwith {
["ErrorTitleAndText", ["Come on Bruh!", "You can't deploy from inside a vehicle!"]] call ExileClient_gui_toaster_addTemplateToast;
};
try
{
if !(vehicle player == player) then { throw "You can't do this in a vehicle!"};
_bambiState = if(isNumber(missionConfigFile >> "CfgXM8" >> _slideClass >> "bambiState")) then
{
if(getNumber(missionConfigFile >> "CfgXM8" >> _slideClass >> "bambiState") > 0)then{true}else{false}