ACE3/addons/optics/functions/fnc_handleCameraViewChanged.sqf
2015-04-03 12:33:12 +02:00

8 lines
146 B
Plaintext

// by commy2
#include "script_component.hpp"
private "_cameraView";
_cameraView = _this select 1;
GVAR(isUsingOptic) = _cameraView == "GUNNER";