Guest User

Untitled

a guest
Apr 11th, 2020
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. YCMD:happyjob(playerid, params[], help)
  2. {
  3. #pragma unused help
  4. #pragma unused params
  5. if(UlogovanIgrac[playerid] == 0 || PI[playerid][pReg] == 0) return Error(playerid, "{FF584C}[B-AC]: Nisi ulogovan/a ili nisi registrovan/a!");
  6. if(PI[playerid][pAdmin] < 1 && gettime() < ACCmd[playerid]) return Error(playerid, "{FF584C}[B-AC]: Komande mozete koristiti svake 2 sekunde!");
  7. ACCmd[playerid] = gettime()+2;
  8.  
  9. if(PI[playerid][pAdmin] < 4) return Error(playerid, "{FF584C}[B-AC]: Niste ovlasceni.");
  10.  
  11. #if NEWBIES_MONTH == 0
  12. {
  13. SPD(playerid, D_HAPPYJOBS, DIALOG_STYLE_LIST, "{FFFA73}HAPPYJOB",
  14. "x.) {FF0000}Ugasi happyjob{FFFFFF}\n\
  15. 1.) Daily - Dostavljac pizze\n\
  16. 2.) Weekend - ATM Dostavljac\n\
  17. 3.) Daily - Bolnicar\n\
  18. 4.) Weekend - Taksista\n\
  19. 5.) Daily - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  20. 6.) Weekend - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  21. 7.) Daily - Rudar\n\
  22. 8.) Weekend - Smecar\n\
  23. 9.) Daily - Dostavljac goriva\n\
  24. 10.) Weekend - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  25. 11.) Daily - Mehanicar\n\
  26. 12.) Weekend - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  27. 13.) Daily - Pilot\n\
  28. 14.) Weekend - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  29. 15.) Daily - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  30. 16.) Weekend - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  31. 17.) Daily - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  32. 18.) Weekend - Vozac autobusa\n\
  33. 19.) Daily - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  34. 20.) Weekend - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  35. 21.) Daily - {FF0000}(slot_posla_se_ne_koristi!){FFFFFF}\n\
  36. 22.) Weekend - HappyLand Dostavljac\n\
  37. 23.) Daily - Kamiondzija\n\
  38. 24.) Weekend - Dostavljac zlata\n\
  39. 25.) Daily - Masinovodja", "Odaberi", "Zatvori");
  40. }
  41. #else
  42. Error(playerid, "{FF584C}[B-AC]: Ne mozete paliti happyjob dok je u toku newbie month.");
  43. #endif
  44. return true;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment