Advertisement
Guest User

Untitled

a guest
Dec 7th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. case 2: {
  2. new pointskill = PlayerInfo[playerid][pSkill];
  3. switch(pointskill)
  4. {
  5. case 1: PlayerToPoint(7.0, playerid, coordonate);
  6. case 2: PlayerToPoint(7.0, playerid, coordonate);
  7. case 3: PlayerToPoint(7.0, playerid, coordonate);
  8. case 4: PlayerToPoint(7.0, playerid, coordonate);
  9. case 5: PlayerToPoint(7.0, playerid, coordonate);
  10. case 6: PlayerToPoint(7.0, playerid, coordonate);
  11. }
  12. if(pointskill)) {
  13. if(PlayerInfo[playerid][pCarLic] == 0) return SCM(playerid, COLOR_LGREEN, "Eroare: Ai nevoie de o licenta de condus pentru a putea munci la acest job!");
  14. CarAngle = 74.1729;
  15. CP[playerid] = 52;
  16. DisablePlayerCheckpointEx(playerid);
  17. new szDialog2[1024];
  18. strcat(szDialog2, "Category\tType\tSkill\n");
  19. strcat(szDialog2, "Clothes\t{35DE1F}Legal\t1+\n");
  20. strcat(szDialog2, "Food\t{35DE1F}Legal\t1+\n");
  21. strcat(szDialog2, "Furniture\t{35DE1F}Legal\t1+\n");
  22. strcat(szDialog2, "Explosible\t{35DE1F}Legal\t2+\n");
  23. strcat(szDialog2, "Guns\t{F21313}Illegal\t3+\n");
  24. strcat(szDialog2, "Stolen cars\t{F21313}Illegal\t3+\n");
  25. ShowPlayerDialog(playerid, DIALOG_TRUCKER, DIALOG_STYLE_TABLIST_HEADERS, "Choose destination", szDialog2, "Select", "Cancel");
  26. }
  27. else {
  28. 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");
  29. CP[playerid] = 53;
  30. SendClientMessage(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!");
  31. SetPlayerCheckpointEx(playerid, -193.2968,-222.9375,1.4219, 7.0);
  32. return 1;
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement