Guest User

Untitled

a guest
Jan 31st, 2020
106
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 56: {
  2. DisablePlayerCheckpointEx(playerid);
  3. CP[playerid] = 0;
  4. new salar = Farming[playerid]*14+82*GetPlayerSkill(playerid);
  5. if(PlayerInfo[playerid][pPremiumAccount] == 1) salar += salar/2;
  6. format(gString, sizeof(gString), "%s a primit $%s pentru munca efectuata la job-ul %s.", GetName(playerid), FormatNumber(salar), JobInfo[PlayerInfo[playerid][pJob]][jName]);
  7. InsertLog(playerid, gString, LOG_MONEY);
  8. format(gString, sizeof(gString), "(+) Ai primit $%s pentru munca facuta de catre tine.", FormatNumber(salar));
  9. SCM(playerid, COLOR_MONEY, gString);
  10. GivePlayerCash(playerid, 1, salar);
  11. GunoiKG[playerid] = 0;
  12. Farming[playerid] = 0;
  13. PlayerInfo[playerid][pFarmerSkill] ++;
  14. Update(playerid, pFarmerSkillx);
  15. DestroyVehicle(JobVehicle[playerid]);
  16. JobVehicle[playerid] = 0, JobWorking[playerid] = 0;
  17. PlayerTextDrawHide(playerid, JobTD);
  18. }
RAW Paste Data