mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +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];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user