Files
DayZ-Epoch/SQF/dayz_code/groups/getPlayer.sqf
ebaydayz f770b0a85d Add group system
Initial commit, not tested in multiplayer yet. Some revisions still left
to do.
2016-10-27 16:06:49 -04:00

10 lines
129 B
Plaintext

private "_player";
_player = objNull;
{
if (getPlayerUID _x == _this) exitWith {
_player = _x;
};
} count allUnits;
_player