Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 2: {
- new pointskill = PlayerInfo[playerid][pSkill];
- switch(pointskill)
- {
- case 1: PlayerToPoint(7.0, playerid, coordonate);
- case 2: PlayerToPoint(7.0, playerid, coordonate);
- case 3: PlayerToPoint(7.0, playerid, coordonate);
- case 4: PlayerToPoint(7.0, playerid, coordonate);
- case 5: PlayerToPoint(7.0, playerid, coordonate);
- case 6: PlayerToPoint(7.0, playerid, coordonate);
- }
- if(pointskill)) {
- 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!");
- CarAngle = 74.1729;
- CP[playerid] = 52;
- DisablePlayerCheckpointEx(playerid);
- new szDialog2[1024];
- strcat(szDialog2, "Category\tType\tSkill\n");
- strcat(szDialog2, "Clothes\t{35DE1F}Legal\t1+\n");
- strcat(szDialog2, "Food\t{35DE1F}Legal\t1+\n");
- strcat(szDialog2, "Furniture\t{35DE1F}Legal\t1+\n");
- strcat(szDialog2, "Explosible\t{35DE1F}Legal\t2+\n");
- strcat(szDialog2, "Guns\t{F21313}Illegal\t3+\n");
- strcat(szDialog2, "Stolen cars\t{F21313}Illegal\t3+\n");
- ShowPlayerDialog(playerid, DIALOG_TRUCKER, DIALOG_STYLE_TABLIST_HEADERS, "Choose destination", szDialog2, "Select", "Cancel");
- }
- else {
- 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");
- CP[playerid] = 53;
- SendClientMessage(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!");
- SetPlayerCheckpointEx(playerid, -193.2968,-222.9375,1.4219, 7.0);
- return 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement