Don't do client stuff on dedicated.

This commit is contained in:
PabstMirror 2015-04-12 22:44:19 -05:00
parent 8df26b3246
commit 36b92b3d44
5 changed files with 10 additions and 0 deletions

View File

@ -4,6 +4,8 @@ GVAR(enabled) = false;
GVAR(time) = 0;
GVAR(position) = [0,0,0];
if (!hasInterface) exitWith {};
#include "initKeybinds.sqf"
["infoDisplayChanged", {

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
if (!hasInterface) exitWith {};
#include "initKeybinds.sqf"

View File

@ -1,6 +1,8 @@
//by commy2
#include "script_component.hpp"
if (!hasInterface) exitWith {};
["inventoryDisplayLoaded", {
[{

View File

@ -1,6 +1,8 @@
// by esteldunedain
#include "script_component.hpp"
if (!hasInterface) exitWith {};
//["Soldier", {_player = ACE_player; if (currentWeapon _player in (_player getVariable [QGVAR(safedWeapons), []])) then {[false] call FUNC(setSafeModeVisual)}] call EFUNC(common,addInfoDisplayEventHandler);
//@todo addEventHandler infoDisplayChanged with select 1 == "Soldier"

View File

@ -1,4 +1,6 @@
// by commy2
#include "script_component.hpp"
if (!hasInterface) exitWith {};
#include "initKeybinds.sqf"