Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1. /*
  2. Author: Maxence Lyon
  3. Altis DEV: https://altisdev.com/user/maxence-lyon
  4. Teamspeak 3: ts.the-programmer.com
  5. Web site: www.the-programmer.com
  6. Steam: ยซ Une Vache Sur CS โ€“ Maxence ยป, please leave a message on my profile who says the exact reason before adding me.
  7.  
  8. Terms of use:
  9. - This file is forbidden unless you have permission from the author. If you have this file without permission to use it please do not use it and do not share it.
  10. - If you have permission to use this file, you can use it on your server however it is strictly forbidden to share it.
  11. - Out of respect for the author please do not delete this information.
  12.  
  13. License number:
  14. Server's name:
  15. Owner's name:
  16. */
  17. if (isNull (player getVariable ["current_entreprise",objNull])) exitWith {hint "Vous n'avez pas d'entreprise !";};
  18.  
  19. disableSerialization;
  20. _display = findDisplay 5540;
  21.  
  22. _texturePath = (getText (missionConfigFile >> "Max_Settings_Facture" >> "textures_base_path") + "\");
  23. (_display displayCtrl 5541) ctrlSetText ([_texturePath,[["fr","create_bill.paa"],["en","create_bill_en.paa"],["de","create_bill_de.paa"],["es","create_bill_es.paa"]],"Max_Settings_Facture"] call theprogrammer_core_fnc_localizeTexture);
  24.  
  25. _playersList = _display displayCtrl 5543;
  26.  
  27. {
  28. if (!(isNull _x) && (alive _x) && !(_x isEqualTo player)) then {
  29. _playersList lbAdd format ["%1",_x getVariable ["realname",name _x]];
  30. _playersList lbSetData [(lbSize _playersList)-1,str(_x)];
  31. };
  32. } forEach playableUnits;
  33.  
  34. _playersList lbSetCurSel 0;
  35. (_display displayCtrl 5545) ctrlSetText (["STR_MONEY","Max_Settings_Facture","Facture_Localization"] call theprogrammer_core_fnc_localize);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement