mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
- Moved player_countMagazines to \compile\ folder - Removed several unused and obsolete files - Moved some epoch functions out of compiles.sqf into individual files - Synced order and formatting with 1.8.7. Much easier to compare now. Any changes I make to official DayZ Mod code and files I also submit as a pull request to them.
16 lines
486 B
Plaintext
16 lines
486 B
Plaintext
private ["_object","_version","_PID"];
|
|
|
|
_object = _this select 0;
|
|
_version = productVersion select 3;
|
|
if (DayZ_UseSteamID) then {
|
|
_PID = GetPlayerUID _object;
|
|
} else {
|
|
if (_version >= 125548) then {
|
|
_PID = call (compile "GetPlayerUIDOld _object");
|
|
} else {
|
|
_PID = GetPlayerUID _object;
|
|
diag_log format["Your game version, %1, is less than the required for the old UID system; using Steam ID system instead. Update to 1.63.125548 (or latest steam beta)", _version];
|
|
};
|
|
};
|
|
|
|
_PID |