mirror of
https://github.com/Ghostrider-DbD-/GMS_RC.git
synced 2024-08-30 16:02:11 +00:00
24 lines
659 B
Plaintext
24 lines
659 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 "\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;
|
|
|