Advertisement
Guest User

Untitled

a guest
Dec 10th, 2017
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. case DIALOG_LOCATIONS: {
  2. if(!response) return 1;
  3. if(CP[playerid] != 0) return ShowPlayerDialog(playerid, DIALOG_CHECKPOINT, DIALOG_STYLE_MSGBOX, "Checkpoint", "Ai deja un checkpoint activ.\nDoresti sa-l anulezi? Daca da, apasa pe 'Ok'.", "Ok", "Exit");
  4. switch(listitem) {
  5. case 0: {
  6. new szDialog[1024], szDialog2[1024];
  7. strcat(szDialog2, "Destinatie\tDistanta\n");
  8. format(szDialog, 1024, "Dealership\t{CBFF96}%0.2fm\n", GetPlayerDistanceFromPoint(playerid, 1449.8494,-2287.2141,13.5469));
  9. strcat(szDialog2, szDialog);
  10. format(szDialog, 1024, "Banca\t{CBFF96}%0.2fm\n", GetPlayerDistanceFromPoint(playerid, 1462.5325,-1013.5137,26.8438));
  11. strcat(szDialog2, szDialog);
  12. ShowPlayerDialog(playerid, DIALOG_LOCATIONS2, DIALOG_STYLE_TABLIST_HEADERS, "Locatii", szDialog2, "Select", "Exit");
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement