Advertisement
Sem_Loreann

Untitled

Mar 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. int text[32], text2[32];
  2. switch(GasInfo[i][gsUpgrade])
  3. {
  4. case 1:
  5. {
  6. text = "Стандарт";
  7. text2 = "500л";
  8. }
  9. case 2:
  10. {
  11. text = "Профи";
  12. text2 = "1000л";
  13. }
  14. case 3:
  15. {
  16. text = "Премиум";
  17. text2 = "2000л";
  18. }
  19. }
  20. if(GasInfo[i][gsUpgrade] < 3) format(str, sizeof(str),"Бензоколонка #%i\t\t{"#GREEN"}%s{"#WHITE"}\t\t{"#GREEN"}%s{"#WHITE"}\t\t%i\n", j, text, text2, 100000*(GasInfo[i][gsUpgrade]+1));
  21. else format(str, sizeof(str),"Бензоколонка #%i\t\t{"#GREEN"}%s{"#WHITE"}\t\t{"#GREEN"}%s\t\t{"#GREEN"}Приобретено\n", j, text, text2);
  22. strcat(strr, str);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement