Advertisement
artur717

Untitled

Jan 25th, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. waitUntil {!(isNull (findDisplay 46))};
  2. disableSerialization;
  3. /*
  4. File: fn_statusBar.sqf
  5. Author: Some French Guy named Osef I presume, given the variable on the status bar
  6. Edited by: [midgetgrimm]
  7. Description: Puts a small bar in the bottom right of screen to display in-game information
  8.  
  9. */
  10. 4 cutRsc ["osefStatusBar","PLAIN"];
  11.  
  12. [] spawn {
  13. sleep 5;
  14. _counter = 180;
  15. _timeSinceLastUpdate = 0;
  16. while {true} do
  17. {
  18. sleep 1;
  19. _counter = _counter - 1;
  20. ((uiNamespace getVariable "osefStatusBar")displayCtrl 1000)ctrlSetText format[" FPS: %1 | Policjanci: %2 | Cywile: %3 | Medycy: %4 | Portfel: %5 | Konto Bankowe: %6 | Pozycja: %7 | Ts3: 4fun.qs3.eu | http://4funrp.ovh | ", round diag_fps, west countSide playableUnits, civilian countSide playableUnits, independent countSide playableUnits,[life_cash] call life_fnc_numberText,[life_atmbank] call life_fnc_numberText,mapGridPosition player, _counter];
  21. };
  22. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement