Zmajk0

Untitled

Sep 7th, 2020 (edited)
61
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if(PI[playerid][pJob] == 28)
  2. {
  3. if(NamestajLevel[playerid] == 1 || NamestajLevel[playerid] == 2 || NamestajLevel[playerid] == 4 || IsPlayerInRangeOfPoint(playerid, 4.0, 2197.8872,-2267.6538,13.5547))
  4. {
  5. lz_DisablePlayerCheckpoint(playerid);
  6. new pnamjesta = random(500)+10500;
  7. PI[playerid][pPlata] += pnamjesta;
  8. NamestajLevel[playerid] = 0;
  9. Rezanje[playerid] = 0;
  10. RemovePlayerAttachedObject(playerid, 2);
  11. SetPlayerSpecialAction(playerid, false);
  12. va_SendClientMessage(playerid, LBLUE_COLOR, "Preradili ste drvo i zaradili ste $%d. (Dodato na platu)", pnamjesta);
  13. SaveAccount(playerid);
  14. UltraPlata(playerid, 200);
  15. }
  16. else if(NamestajLevel[playerid] == 6)
  17. {
  18. new pnamjesta = random(500)+10500;
  19. PI[playerid][pPlata] += pnamjesta;
  20. NamestajLevel[playerid] = 0;
  21. Rezanje[playerid] = 0;
  22. RemovePlayerAttachedObject(playerid, 2);
  23. SetPlayerSpecialAction(playerid, false);
  24. va_SendClientMessage(playerid, LBLUE_COLOR, "Preradili ste drvo i zaradili ste $%d. (Dodato na platu)", pnamjesta);
  25. SaveAccount(playerid);
  26. UltraPlata(playerid, 200);
  27. }
  28. }
RAW Paste Data