Move unused functions to another folder

This commit is contained in:
AirwavesMan
2020-06-10 17:03:31 +02:00
parent 11f10829cb
commit ac79d91ca0
37 changed files with 185 additions and 250 deletions

View File

@@ -0,0 +1,21 @@
achievementServer = {
private ["_playerOwnerID","_player","_achievementID","_achievements"];
_achievementID = (_this select 0) select 0;
_player = (_this select 0) select 1;
_playerOwnerID = owner _player;
diag_log (text format ["Achievement: %1 was awarded to %2", _achievementID, _player]);
_achievements = _player getVariable "Achievements";
_achievements set [_achievementID,1];
_player setVariable ["Achievements",_achievements];
// now send the OSD message to the client that called this
achievementClientPV = [_achievementID];
_playerOwnerID publicVariableClient "achievementClientPV";
};