Advertisement
Guest User

deathscreen

a guest
Jun 9th, 2020
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. private["_medicsOnline","_medicsNear"];
  2. disableSerialization;
  3. [] spawn life_fnc_requestMedic;
  4.  
  5. _medicsOnline = ((findDisplay 7300) displayCtrl 7304);
  6. _medicsNear = ((findDisplay 7300) displayCtrl 7305);
  7.  
  8. waitUntil {
  9. _nearby = if (([independent,getPosATL player,120] call life_fnc_nearUnits)) then {"Yes"} else {"No"};
  10. _medicsOnline ctrlSetText format[localize "STR_Medic_Online",independent countSide playableUnits];
  11. _medicsNear ctrlSetText format[localize "STR_Medic_Near",_nearby];
  12. sleep 1;
  13. (isNull (findDisplay 7300))
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement