1.0.2.51 dev

This commit is contained in:
[VB]AWOL
2013-10-30 13:06:18 -05:00
parent ec4cc0842b
commit cde35c43dc
20 changed files with 830 additions and 64 deletions

View File

@@ -37,6 +37,23 @@ vehicle_handleInteract = {
[_object, "all"] call server_updateObject;
};
array_reduceReverse = {
private["_array","_count","_num","_newarray","_startnum","_index"];
_array = _this select 0;
_newarray = [];
_count = _this select 1;
_num = count _array;
if (_num > _count) then {
_startnum = _num - 1;
_index = _count - 1;
for "_i" from 0 to _index do {
_newarray set [(_index-_i),_array select (_startnum - _i)];
};
_array = _newarray;
};
_array
};
vehicle_handleServerKilled = {
private["_unit","_killer"];
_unit = _this select 0;