From 68d4c9bbd80ed2e6528244569c79676b87295bd1 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:54:45 +0300 Subject: init --- Client/PVFunctions/ChangeScore.sqf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Client/PVFunctions/ChangeScore.sqf (limited to 'Client/PVFunctions/ChangeScore.sqf') diff --git a/Client/PVFunctions/ChangeScore.sqf b/Client/PVFunctions/ChangeScore.sqf new file mode 100644 index 0000000..583b4c1 --- /dev/null +++ b/Client/PVFunctions/ChangeScore.sqf @@ -0,0 +1,8 @@ +Private ["_newScore","_playerChanged","_oldScore"]; + +_playerChanged = _this select 0; +_newScore = _this select 1; + +_oldScore = score _playerChanged; +_playerChanged addScore -(_oldScore); +_playerChanged addScore _newScore; \ No newline at end of file -- cgit v1.3.1