ACE3/addons/frag/functions/fnc_dev_clearTraces.sqf
2024-01-11 14:01:50 -06:00

24 lines
441 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Lambda.Tiger
* Cleares all dev spheres and traces
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_frag_fnc_dev_clearTraces;
*
* Public: No
*/
GVAR(dev_trackLines) = createHashMap;
for "_i" from 0 to count GVAR(dev_eventSpheres) - 1 do
{
deleteVehicle (GVAR(dev_eventSpheres)#_i);
};
GVAR(dev_eventSpheres) = +[];
GVAR(dev_hitBoxes) = createHashMap;