Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. _taxe = missionNamespace getVariable "taxe"; // LA SOMME DES TAXES EN COURS
  2. _impots = missionNamespace getVariable "impots"; // LA SOMME DU COMPTE GOUVERNEMENTALE
  3.  
  4. _ctaxe = parseNumber _taxe;
  5. _cimpots = parseNumber _impots;
  6.  
  7. while {true} do
  8. {
  9. _t = time;
  10.  
  11. _calcul = _cimpots + _ctaxe;
  12. [_calcul] remoteExec ["TON_fnc_addimpots",2];
  13. sleep 5;
  14. missionNamespace setVariable ["taxe",0,true];
  15.  
  16. if (license_civ_gouverneur) then {
  17. ["Information","Les taxes viennent d'etre traiter"] call UPM_fnc_custom_bourse_showNotification;
  18. };
  19. //WaitUntil {time - _t >= 1800}; // 30 MINUTES
  20. WaitUntil {time - _t >= 300}; // 30 MINUTES
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement