mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-18 22:22:57 +03:00
Add group system
Initial commit, not tested in multiplayer yet. Some revisions still left to do.
This commit is contained in:
10
SQF/dayz_code/groups/getPlayer.sqf
Normal file
10
SQF/dayz_code/groups/getPlayer.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
private "_player";
|
||||
|
||||
_player = objNull;
|
||||
{
|
||||
if (getPlayerUID _x == _this) exitWith {
|
||||
_player = _x;
|
||||
};
|
||||
} count allUnits;
|
||||
|
||||
_player
|
||||
Reference in New Issue
Block a user