Jump to content
  • 0

[HELP] Dialog !


monster010

Question

Am acest script, dar cand intru in pickup nu se intampla nimic.

[pawn]

public OnPlayerPickUpPickup(playerid, pickupid)

{

    if(pickupid == job1)

    {

    ShowPlayerDialog(playerid, 9292, DIALOG_STYLE_MSGBOX, "JOB Detective", "Ai ales sa devii detectiv, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job2)

    {

    ShowPlayerDialog(playerid, 9494, DIALOG_STYLE_MSGBOX, "JOB Lawyer", "Ai ales sa devii avocat, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job3)

    {

  ShowPlayerDialog(playerid, 9595, DIALOG_STYLE_MSGBOX, "JOB Whore", "Ai ales sa devii tarfa, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

  return 1;

    }

    if(pickupid == job4)

    {

    ShowPlayerDialog(playerid, 9696, DIALOG_STYLE_MSGBOX, "JOB Drugs Dealer", "Ai ales sa devii traficant de droguri, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    }

    if(pickupid == job5)

    {

    ShowPlayerDialog(playerid, 9393, DIALOG_STYLE_MSGBOX, "JOB Car Jacker", "Ai ales sa devii Car Jacker, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job6)

    {

    ShowPlayerDialog(playerid, 130130, DIALOG_STYLE_MSGBOX, "JOB Paper Boy", "Ai ales sa devii vanzator de ziare, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job7)

    {

ShowPlayerDialog(playerid, 9797, DIALOG_STYLE_MSGBOX, "JOB Car Mechanic", "Ai ales sa devii mecanic auto, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

return 1;

    }

    if(pickupid == job8)

    {

      ShowPlayerDialog(playerid, 9898, DIALOG_STYLE_MSGBOX, "JOB Bodyguard", "Ai ales sa devii bodyguard, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

      return 1;

    }

    if(pickupid == job9)

    {

          ShowPlayerDialog(playerid, 9999, DIALOG_STYLE_MSGBOX, "JOB Arms Dealer", "Ai ales sa devii traficand de arme, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

          return 1;

  }

    if(pickupid == job10)

    {

    ShowPlayerDialog(playerid, 100100, DIALOG_STYLE_MSGBOX, "JOB Car Dealer", "Ai ales sa devii vanzator auto, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job11)

    {

      ShowPlayerDialog(playerid, 110110, DIALOG_STYLE_MSGBOX, "JOB Boxer", "Ai ales sa devii boxer, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

      return 1;

    }

    if(pickupid == job12)

    {

      ShowPlayerDialog(playerid, 120120, DIALOG_STYLE_MSGBOX, "JOB Bus Driver", "Ai ales sa devii sofer de autobuz, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

      return 1;

    }

    if(pickupid == job13)

    {

    ShowPlayerDialog(playerid, 140140, DIALOG_STYLE_MSGBOX, "JOB Trucker", "Ai ales sa devii camionagiu, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job14)

    {

    ShowPlayerDialog(playerid, 150150, DIALOG_STYLE_MSGBOX, "JOB TOYS MAN", "Ai ales sa devii furnizor de jucarii, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    if(pickupid == job15)

    {

    ShowPlayerDialog(playerid, 160160, DIALOG_STYLE_MSGBOX, "JOB MAIL MAN", "Ai ales sa devii postas, esti obligat sa stai 5 ore cu acest job\nDaca esti de acord apasa 'Accept'.", "Accept", "Exit");

    return 1;

    }

    return 1;

}

[/pawn]

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.