From 68d4c9bbd80ed2e6528244569c79676b87295bd1 Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 11 Jun 2026 19:54:45 +0300 Subject: init --- Server/Functions/Server_ChangeAICommanderFunds.sqf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Server/Functions/Server_ChangeAICommanderFunds.sqf (limited to 'Server/Functions/Server_ChangeAICommanderFunds.sqf') diff --git a/Server/Functions/Server_ChangeAICommanderFunds.sqf b/Server/Functions/Server_ChangeAICommanderFunds.sqf new file mode 100644 index 0000000..447fd09 --- /dev/null +++ b/Server/Functions/Server_ChangeAICommanderFunds.sqf @@ -0,0 +1,7 @@ +Private ["_amount","_funds","_side"]; +_side = _this select 0; +_amount = _this select 1; + +_funds = (_side) Call GetAICommanderFunds; + +[Format ["WFBE_%1_AICommanderFunds",_side], _funds + _amount, true] Call SetNamespace; \ No newline at end of file -- cgit v1.3.1