mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
374 B
Plaintext
18 lines
374 B
Plaintext
|
/*
|
||
|
* Author: commy2
|
||
|
*
|
||
|
* Called from config. Returns true if the player is a gunner and the players current vehicle has a FCS.
|
||
|
*
|
||
|
* Argument:
|
||
|
* Nothing
|
||
|
*
|
||
|
* Return value:
|
||
|
* Boolean (Bool)
|
||
|
*/
|
||
|
|
||
|
#include "script_component.hpp"
|
||
|
|
||
|
_player == gunner _vehicle
|
||
|
&& {getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(Enabled)) == 1}
|
||
|
&& {cameraView == "GUNNER"}
|