mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-06 08:12:53 +03:00
Add variable
This commit is contained in:
@@ -39,10 +39,11 @@ if (!isDedicated) then {
|
||||
};
|
||||
|
||||
player_login = {
|
||||
private ["_unit","_detail"];
|
||||
private ["_unit","_detail","_PUID"];
|
||||
_unit = _this select 0;
|
||||
_detail = _this select 1;
|
||||
if(_unit == GetPlayerUIDOld player) then {
|
||||
_PUID = if (DayZ_UseSteamID) then {GetPlayerUID player;} else {GetPlayerUIDOld player;};
|
||||
if(_unit == _PUID) then {
|
||||
player setVariable["publish",_detail];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
disableSerialization;
|
||||
|
||||
if (isNil "DayZ_UseSteamID") then {
|
||||
DayZ_UseSteamID = true;
|
||||
};
|
||||
//Model Variables
|
||||
Bandit1_DZ = "Bandit1_DZ";
|
||||
Bandit2_DZ = "Bandit2_DZ";
|
||||
|
||||
Reference in New Issue
Block a user