Advertisement
Elioriel

Untitled

Dec 27th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.13 KB | None | 0 0
  1. _immatriculation = (_dataArr select 2); if (_immatriculation == "0") then {_immatriculation = "Aucune"} else {_immatriculation = format ["%1-%2-%3",_immatriculation select [0,2],_immatriculation select [2,3],_immatriculation select [5,2]];};
  2.  
  3. (CONTROL(2800,2803)) ctrlSetStructuredText parseText format [
  4.     (localize "STR_Shop_Veh_UI_RetrievalP")+ " <t color='#8cff9b'>$%1</t><br/>
  5.    " +(localize "STR_Shop_Veh_UI_SellP")+ " <t color='#8cff9b'>$%2</t><br/>
  6.    Plaque d'immatriculation: <t color='#8cff9b'>%9</t><br/>
  7.    " +(localize "STR_Shop_Veh_UI_Color")+ " %8<br/>
  8.    " +(localize "STR_Shop_Veh_UI_MaxSpeed")+ " %3 km/h<br/>
  9.    " +(localize "STR_Shop_Veh_UI_HPower")+ " %4<br/>
  10.    " +(localize "STR_Shop_Veh_UI_PSeats")+ " %5<br/>
  11.    " +(localize "STR_Shop_Veh_UI_Trunk")+ " %6<br/>
  12.    " +(localize "STR_Shop_Veh_UI_Fuel")+ " %7
  13.    ",
  14. [_retrievePrice] call life_fnc_numberText,
  15. [_sellPrice] call life_fnc_numberText,
  16. (_vehicleInfo select 8),
  17. (_vehicleInfo select 11),
  18. (_vehicleInfo select 10),
  19. if (_trunkSpace isEqualTo -1) then {"None"} else {_trunkSpace},
  20. (_vehicleInfo select 12),
  21. _vehicleColor
  22. _immatriculation
  23. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement