Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. case 1: {
  2. new szDialog[2000];
  3.  
  4. szDialog[0] = EOS;
  5. format(szDialog, sizeof szDialog, "ID\tDestinatie\tDistanta\n");
  6. new tipbiz[64];
  7. for(new i=0; i < 60; i++)
  8. {
  9. switch(BizzInfo[i][bType])
  10. {
  11. case 1: tipbiz = "Banca";
  12. case 2: tipbiz = "Gunshop";
  13. case 3: ipbiz = "Bar";
  14. case 5: tipbiz = "Sexshop";
  15. case 6: tipbiz = "24/7";
  16. case 7: tipbiz = "Clothing";
  17. case 8: tipbiz = "Burger";
  18. case 9: tipbiz = "Cazino";
  19. case 10: tipbiz = "CNN";
  20. case 11: tipbiz = "Rent a Bike";
  21. case 12: tipbiz = "Rent a Car";
  22. case 13: tipbiz = "Arena";
  23. case 14: tipbiz = "Home Shop";
  24. case 15: tipbiz = "Tunning";
  25. case 16: tipbiz = "Paintball";
  26. case 17: tipbiz = "Gas Station";
  27. case 18: tipbiz = "Race Arena";
  28. case 19: tipbiz = "PNS";
  29. case 26: tipbiz = "Unknown";
  30. case 27: tipbiz = "Tunning";
  31. }
  32. format(szDialog, sizeof szDialog, "#%s%d\t%s\t%0.2fm\n", szDialog, BizzInfo[i][bID], tipbiz, GetPlayerDistanceFromPoint(playerid, BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]));
  33. }
  34. ShowPlayerDialog(playerid, DIALOG_LOCATIONS3, DIALOG_STYLE_TABLIST_HEADERS, "SERVER: Businesses", szDialog, "Select", "Exit");
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement