Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 1: {
- new szDialog[2000];
- szDialog[0] = EOS;
- format(szDialog, sizeof szDialog, "ID\tDestinatie\tDistanta\n");
- new tipbiz[64];
- for(new i=0; i < 60; i++)
- {
- switch(BizzInfo[i][bType])
- {
- case 1: tipbiz = "Banca";
- case 2: tipbiz = "Gunshop";
- case 3: ipbiz = "Bar";
- case 5: tipbiz = "Sexshop";
- case 6: tipbiz = "24/7";
- case 7: tipbiz = "Clothing";
- case 8: tipbiz = "Burger";
- case 9: tipbiz = "Cazino";
- case 10: tipbiz = "CNN";
- case 11: tipbiz = "Rent a Bike";
- case 12: tipbiz = "Rent a Car";
- case 13: tipbiz = "Arena";
- case 14: tipbiz = "Home Shop";
- case 15: tipbiz = "Tunning";
- case 16: tipbiz = "Paintball";
- case 17: tipbiz = "Gas Station";
- case 18: tipbiz = "Race Arena";
- case 19: tipbiz = "PNS";
- case 26: tipbiz = "Unknown";
- case 27: tipbiz = "Tunning";
- }
- 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]));
- }
- ShowPlayerDialog(playerid, DIALOG_LOCATIONS3, DIALOG_STYLE_TABLIST_HEADERS, "SERVER: Businesses", szDialog, "Select", "Exit");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement