Merge pull request #36 from Ghostrider-DbD-/Version-6.54-Build-33
Fixed typos in GMS_fnc_vehicleMonitor.sqf
This commit is contained in:
commit
3cdd846719
@ -1,17 +0,0 @@
|
|||||||
// Protect Vehicles from being cleaned up by the server
|
|
||||||
// Last modified 2/26/16 by Ghostrider-DBD-
|
|
||||||
|
|
||||||
params["_Vehicle"];
|
|
||||||
|
|
||||||
private["_modType"];
|
|
||||||
_modType = call blck_getModType;
|
|
||||||
switch (_ModType) do {
|
|
||||||
case "_modType":
|
|
||||||
{
|
|
||||||
diag_log format["GMS_fnc_protectVehicle:: Tokens set for vehicle %1",_Vehicle];
|
|
||||||
//_Vehicle call EPOCH_server_vehicleInit;
|
|
||||||
_Vehicle call EPOCH_server_setVToken;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
@ -1,24 +0,0 @@
|
|||||||
/*
|
|
||||||
Spawn a vehicle and protect it against cleanup by Epoch
|
|
||||||
Returns the object (vehicle) created.
|
|
||||||
By Ghostrider-DBD-
|
|
||||||
Last modified 10-24-16
|
|
||||||
*/
|
|
||||||
|
|
||||||
private["_veh","_modType"];
|
|
||||||
params["_vehType","_pos"];
|
|
||||||
//_vehType = _this select 0; // type of vehicle to be spawned
|
|
||||||
//_pos = _this select 1; // position at which vehicle is to be spawned
|
|
||||||
|
|
||||||
//diag_log format["spawnVehicle.sqf: _this = %1",_this];
|
|
||||||
_veh = createVehicle[_vehType, _pos, [], 0, "NONE"];
|
|
||||||
_modType = call blck_getModType;
|
|
||||||
if (_modType isEqualTo "Epoch") then
|
|
||||||
{
|
|
||||||
//_veh call EPOCH_server_vehicleInit;
|
|
||||||
_veh call EPOCH_server_setVToken;
|
|
||||||
};
|
|
||||||
[_veh] call blck_fnc_configureMissionVehicle;
|
|
||||||
|
|
||||||
_veh
|
|
||||||
|
|
@ -34,7 +34,7 @@ if (blck_debugLevel > 1) then {diag_log format["_fnc_vehicleMonitor:: function c
|
|||||||
}else {
|
}else {
|
||||||
if (blck_killEmptyAIVehicles) then
|
if (blck_killEmptyAIVehicles) then
|
||||||
{
|
{
|
||||||
if (blck_debugLevel > ) then
|
if (blck_debugLevel > 2) then
|
||||||
{
|
{
|
||||||
diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle destroyed where vehicle = %1",_veh];
|
diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle destroyed where vehicle = %1",_veh];
|
||||||
};
|
};
|
||||||
@ -51,7 +51,7 @@ if (blck_debugLevel > 1) then {diag_log format["_fnc_vehicleMonitor:: function c
|
|||||||
_veh setVehicleLock "UNLOCKED" ;
|
_veh setVehicleLock "UNLOCKED" ;
|
||||||
_veh setVariable["releasedToPlayers",true];
|
_veh setVariable["releasedToPlayers",true];
|
||||||
[_veh] call blck_fnc_emptyObject;
|
[_veh] call blck_fnc_emptyObject;
|
||||||
if (blck_debugLevel > ) then
|
if (blck_debugLevel > 2) then
|
||||||
{
|
{
|
||||||
diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle released to players where vehicle = %1",_veh];
|
diag_log format["_fnc_vehicleMonitor:: case of patrol vehicle released to players where vehicle = %1",_veh];
|
||||||
};
|
};
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
private ["_version","_versionDate"];
|
private ["_version","_versionDate"];
|
||||||
_blck_version = "6.54 Build 32";
|
|
||||||
_blck_versionDate = "1-22-17 8:00 PM";
|
|
||||||
|
|
||||||
|
_blck_version = "6.54 Build 33";
|
||||||
|
_blck_versionDate = "1-23-17 8:00 AM";
|
||||||
|
Loading…
Reference in New Issue
Block a user