mirror of
https://github.com/Ghostrider-DbD-/GMS_RC.git
synced 2024-08-30 16:02:11 +00:00
7273521854
Moved over to $prefix$ and labeled unused files
24 lines
668 B
Plaintext
24 lines
668 B
Plaintext
/*
|
|
By Ghostrider [GRG]
|
|
Copywrite 2022
|
|
--------------------------
|
|
License
|
|
--------------------------
|
|
All the code and information provided here is provided under an Attribution Non-Commercial ShareAlike 4.0 Commons License.
|
|
|
|
http://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
*/
|
|
#include "\x\addons\GMS\Compiles\Init\GMS_defines.hpp"
|
|
if (isNil "GMS_blacklisted_vehicle_weapons") then {GMS_blacklisted_vehicle_weapons = []};
|
|
params["_veh","_group",["_crewCount",4]];
|
|
private _units = units _group;
|
|
|
|
for "_i" from 1 to _crewCount do
|
|
{
|
|
if (_units isEqualTo []) exitWith {};
|
|
_crew = _units deleteAt 0;
|
|
_crew moveInAny _veh;
|
|
};
|
|
{deleteVehicle _x} forEach _units;
|
|
|