Bonsoir est ce possible d'avoir la même aide que ceci https://forum.the-programmer.com/po...r-largent-dans-le-compte-dune-entreprise.592/ car les liens paste-me sont down ?
_entid = 1;
_ent = objNull;
{
_id = _x select 0;
_ent = _x select 1;
if (_id isequalto _entid) exitWith {_ent = _x select 1;};
}foreach maxence_all_entreprises;
_oldEntACC = _ent getVariable ["entreprise_bankacc",0];
_oldEntACC = _oldEntACC + _price;
_ent setVariable ["entreprise_bankacc",_oldEntACC,true];
[(_ent getVariable ["entreprise_id",0]),5,(_ent getVariable ["entreprise_bankacc",0])] remoteExecCall ["max_entreprise_fnc_updateEntreprise",2];
[_ent,format ["%1 (casino)",(name player)],_price,2] remoteExecCall...
_entid = 1;
_ent = objNull;
{
_id = _x select 0;
_ent = _x select 1;
if (_id isequalto _entid) exitWith {_ent = _x select 1;};
}foreach maxence_all_entreprises;
_oldEntACC = _ent getVariable ["entreprise_bankacc",0];
_oldEntACC = _oldEntACC + _price;
_ent setVariable ["entreprise_bankacc",_oldEntACC,true];
[(_ent getVariable ["entreprise_id",0]),5,(_ent getVariable ["entreprise_bankacc",0])] remoteExecCall ["max_entreprise_fnc_updateEntreprise",2];
[_ent,format ["%1 (casino)",(name player)],_price,2] remoteExecCall ["max_entreprise_fnc_insertEntrepriseLogs",2];