Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- waitUntil {!(isNull (findDisplay 46))};
- disableSerialization;
- /*
- File: fn_statusBar.sqf
- Author: Some French Guy named Osef I presume, given the variable on the status bar
- Edited by: [midgetgrimm]
- Description: Puts a small bar in the bottom right of screen to display in-game information
- */
- 4 cutRsc ["osefStatusBar","PLAIN"];
- [] spawn {
- sleep 5;
- _counter = 180;
- _timeSinceLastUpdate = 0;
- while {true} do
- {
- sleep 1;
- _counter = _counter - 1;
- ((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];
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement