summaryrefslogtreecommitdiffstats
path: root/Common/Functions/Common_UpdateStatistics.sqf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Common/Functions/Common_UpdateStatistics.sqf1
1 files changed, 1 insertions, 0 deletions
diff --git a/Common/Functions/Common_UpdateStatistics.sqf b/Common/Functions/Common_UpdateStatistics.sqf
new file mode 100644
index 0000000..5fd0ef6
--- /dev/null
+++ b/Common/Functions/Common_UpdateStatistics.sqf
@@ -0,0 +1 @@
+Private ['_side','_val','_var']; _side = _this select 0; _var = _this select 1; _val = _this select 2; WF_Logic setVariable [Format["%1%2",_side,_var],((WF_Logic getVariable Format["%1%2",_side,_var]) + _val),true]; \ No newline at end of file