Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. for(new t = 1; t < sizeof(TruckInfo); t++)
  2. {
  3. new szDialog[1024], szDialog2[1024];
  4. strcat(szDialog2, "Destinatia\tDistanta\tSkill\tTimp\n");
  5. format(szDialog, sizeof(szDialog), "%s\t%.2f km\t%d\t%s\n", TruckInfo[t][tName], GetPlayerDistanceFromPoint(playerid, TruckInfo[t][tPosX], TruckInfo[t][tPosY], TruckInfo[t][tPosZ]), TruckInfo[t][tSkill], CalculeazaTimp2(TruckInfo[t][tTime]));
  6. strcat(szDialog2, szDialog);
  7. ShowPlayerDialog(playerid, DIALOG_TRUCKER, DIALOG_STYLE_TABLIST_HEADERS, "Selecteaza destinatia:", szDialog2, "Select", "Cancel");
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement