Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(new t = 1; t < sizeof(TruckInfo); t++)
- {
- new szDialog[1024], szDialog2[1024];
- strcat(szDialog2, "Destinatia\tDistanta\tSkill\tTimp\n");
- 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]));
- strcat(szDialog2, szDialog);
- ShowPlayerDialog(playerid, DIALOG_TRUCKER, DIALOG_STYLE_TABLIST_HEADERS, "Selecteaza destinatia:", szDialog2, "Select", "Cancel");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement