Guest User

Untitled

a guest
Nov 29th, 2019
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.33 KB | None | 0 0
  1. CMD:quests(playerid, params[])
  2. {
  3. if(Misiune1[playerid] == 1)
  4. {
  5. format(szMessage, sizeof(szMessage), "Misiune(Jefuieste banca). Progres: %d/1", PlayerInfo[playerid][pProgres1]);
  6. SCM(playerid, COLOR_YELLOW, szMessage);
  7. }
  8. else if(Misiune2[playerid] == 1)
  9. {
  10. format(szMessage, sizeof(szMessage), "Misiune(Mergi pana pe muntele Chilliad). Progres: %d/1", PlayerInfo[playerid][pProgres2]);
  11. SCM(playerid, COLOR_YELLOW, szMessage);
  12. SetPlayerCheckpoint(playerid, -2317.8091,-1637.5575,483.7031, 5.0);
  13. CP[playerid] = 1234;
  14. }
  15. else if(Misiune3[playerid] == 1)
  16. {
  17. format(szMessage, sizeof(szMessage), "Misiune(Omoara 5 politisti). Progres: %d/5", PlayerInfo[playerid][pProgres3]);
  18. SCM(playerid, COLOR_YELLOW, szMessage);
  19. }
  20. else if(Misiune4[playerid] == 1)
  21. {
  22. format(szMessage, sizeof(szMessage), "Misiune(Cumpara un gram de drugs si foloseste-l). Progres: %d/1", PlayerInfo[playerid][pProgres4]);
  23. SCM(playerid, COLOR_YELLOW, szMessage);
  24. }
  25. else if(Misiune5[playerid] == 1)
  26. {
  27. format(szMessage, sizeof(szMessage), "Misiune: Mergi pana pe stadionul de baseball din Las Venturas. Progres: %d/1.", PlayerInfo[playerid][pProgres5]);
  28. SetPlayerCheckpoint(playerid, 1350.4325,2156.4529,11.0156, 5.0);
  29. CP[playerid] = 1235;
  30. }
  31. else if(Misiune6[playerid] == 1)
  32. {
  33. format(szMessage, sizeof(szMessage), "Misiune: Mergi pana pe stadionul de baseball din Las Venturas. Progres: %d/1.", PlayerInfo[playerid][pProgres6]);
  34. SetPlayerCheckpoint(playerid, -1722.5575,1359.3947,7.1875, 5.0);
  35. CP[playerid] = 1237;
  36. }
  37. else if(Misiune7[playerid] == 1)
  38. {
  39. format(szMessage, sizeof(szMessage), "Misiune(Omoara 15 jucatori la paintball). Progres: %d/15", PlayerInfo[playerid][pProgres7]);
  40. SCM(playerid, COLOR_YELLOW, szMessage);
  41. }
  42. else if(Misiune8[playerid] == 1)
  43. {
  44. format(szMessage, sizeof(szMessage), "Misiune: Vinde 10 pesti. Progres: %d/10.", PlayerInfo[playerid][pProgres8]);
  45. SCM(playerid, COLOR_YELLOW, szMessage);
  46. }
  47. else if(Misiune9[playerid] == 1)
  48. {
  49. format(szMessage, sizeof(szMessage), "Misiune: Jefuieste 6 jucatori: %d/6.", PlayerInfo[playerid][pProgres9]);
  50. SCM(playerid, COLOR_YELLOW, szMessage);
  51. }
  52. else if(Misiune10[playerid] == 1)
  53. {
  54. format(szMessage, sizeof(szMessage), "Misiune: Livreaza 30 de cutii de pizza. Progres: %d/30.", PlayerInfo[playerid][pProgres10]);
  55. SCM(playerid, COLOR_YELLOW, szMessage);
  56. }
  57. else if(Misiune11[playerid] == 1)
  58. {
  59. if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pMember] == 10)
  60. {
  61. Misiune11[playerid] = 1;
  62. format(szMessage, sizeof(szMessage), "Misiune: Omoara 7 adversari la war. Progres: %d/7.", PlayerInfo[playerid][pProgres11]);
  63. SCM(playerid, COLOR_YELLOW, szMessage);
  64. }
  65. }
  66. else if(Misiune12[playerid] == 1)
  67. {
  68. format(szMessage, sizeof(szMessage), "Misiune: Castiga 6 runde de barbut. Progres: %d/6.", PlayerInfo[playerid][pProgres12]);
  69. SCM(playerid, COLOR_YELLOW, szMessage);
  70. }
  71. else if(Misiune13[playerid] == 1)
  72. {
  73. format(szMessage, sizeof(szMessage), "Misiune: Mergi pana la aeroportul din Las Venturas. Progres: %d/1.", PlayerInfo[playerid][pProgres13]);
  74. SCM(playerid, COLOR_YELLOW, szMessage);
  75. SetPlayerCheckpoint(playerid, 1472.2202,1681.6331,10.8125, 5.0);
  76. CP[playerid] = 1239;
  77. }
  78. return 1;
  79. }
Add Comment
Please, Sign In to add comment