Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _taxe = missionNamespace getVariable "taxe"; // LA SOMME DES TAXES EN COURS
- _impots = missionNamespace getVariable "impots"; // LA SOMME DU COMPTE GOUVERNEMENTALE
- _ctaxe = parseNumber _taxe;
- _cimpots = parseNumber _impots;
- while {true} do
- {
- _t = time;
- _calcul = _cimpots + _ctaxe;
- [_calcul] remoteExec ["TON_fnc_addimpots",2];
- sleep 5;
- missionNamespace setVariable ["taxe",0,true];
- if (license_civ_gouverneur) then {
- ["Information","Les taxes viennent d'etre traiter"] call UPM_fnc_custom_bourse_showNotification;
- };
- //WaitUntil {time - _t >= 1800}; // 30 MINUTES
- WaitUntil {time - _t >= 300}; // 30 MINUTES
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement