Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 56: {
- DisablePlayerCheckpointEx(playerid);
- CP[playerid] = 0;
- new salar = Farming[playerid]*14+82*GetPlayerSkill(playerid);
- if(PlayerInfo[playerid][pPremiumAccount] == 1) salar += salar/2;
- format(gString, sizeof(gString), "%s a primit $%s pentru munca efectuata la job-ul %s.", GetName(playerid), FormatNumber(salar), JobInfo[PlayerInfo[playerid][pJob]][jName]);
- InsertLog(playerid, gString, LOG_MONEY);
- format(gString, sizeof(gString), "(+) Ai primit $%s pentru munca facuta de catre tine.", FormatNumber(salar));
- SCM(playerid, COLOR_MONEY, gString);
- GivePlayerCash(playerid, 1, salar);
- GunoiKG[playerid] = 0;
- Farming[playerid] = 0;
- PlayerInfo[playerid][pFarmerSkill] ++;
- Update(playerid, pFarmerSkillx);
- DestroyVehicle(JobVehicle[playerid]);
- JobVehicle[playerid] = 0, JobWorking[playerid] = 0;
- PlayerTextDrawHide(playerid, JobTD);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement