rework PFH to client module, triageIcons and vehicleFlags point there
This commit is contained in:
10
framework/client/functions/fn_addDraw3DPFH.sqf
Normal file
10
framework/client/functions/fn_addDraw3DPFH.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
|
||||
if (!isNil QGVAR(draw3DPFH)) then {
|
||||
[GVAR(draw3DPFH)] call CBA_fnc_removePerFrameHandler;
|
||||
};
|
||||
// add pfh that processes queued code
|
||||
GVAR(draw3DPFH) = [{
|
||||
{call _x; true;} count (localNamespace getVariable [QGVAR(pfhCode), []]);
|
||||
}, 0] call CBA_fnc_addPerFrameHandler;
|
||||
Reference in New Issue
Block a user