From 088248d07902d9026626a531140905be0597b9bf Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Tue, 21 Jan 2014 17:13:26 -0600 Subject: [PATCH] use PVS here instead --- SQF/dayz_code/compile/player_switchModel.sqf | 2 +- SQF/dayz_code/system/player_monitor.fsm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/player_switchModel.sqf b/SQF/dayz_code/compile/player_switchModel.sqf index c3716dc0b..983fedec1 100644 --- a/SQF/dayz_code/compile/player_switchModel.sqf +++ b/SQF/dayz_code/compile/player_switchModel.sqf @@ -159,7 +159,7 @@ if (_tagSetting) then { _playerUID = getPlayerUID player; _playerObjName = format["player%1",_playerUID]; call compile format["%1 = player;",_playerObjName]; -publicVariable _playerObjName; //Outcommit in DayZ 1.8 No clue for what this is - Skaronator +publicVariableServer _playerObjName; //Outcommit in DayZ 1.8 No clue for what this is - Skaronator //melee check _wpnType = primaryWeapon player; diff --git a/SQF/dayz_code/system/player_monitor.fsm b/SQF/dayz_code/system/player_monitor.fsm index 35c12ae8c..7946eff21 100644 --- a/SQF/dayz_code/system/player_monitor.fsm +++ b/SQF/dayz_code/system/player_monitor.fsm @@ -1069,7 +1069,7 @@ class FSM "_playerObjName = format[""player%1"",_playerUID];" \n "call compile format[""player%1 = player;"",_playerUID];" \n "////diag_log (format[""player%1 = player"",_playerUID]);" \n - "publicVariable _playerObjName;" \n + "publicVariableServer _playerObjName;" \n "" \n "//_state = player getVariable[""state"",[]];" \n "_currentWpn = """";" \n