Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case DIALOG_FISH: {
- if(!response) return 1;
- new money = HaveFish[playerid] * 1000 + random(200) + 100 * GetPlayerSkill(playerid);
- if(PlayerInfo[playerid][pPremiumAccount] == 1) money += money/2;
- format(string, sizeof(string), "Ai primit $%s!", FormatNumber(money));
- SendClientMessage(playerid, COLOR_MONEY, string);
- format(string, sizeof(string), "%s a primit $%s pentru munca efectuata la job-ul %s.", GetName(playerid), FormatNumber(money), JobInfo[PlayerInfo[playerid][pJob]][jName]);
- InsertLog(playerid, string, LOG_MONEY);
- GivePlayerCash(playerid, money);
- HaveFish[playerid] = 0;
- PlayerInfo[playerid][pFishSkill] ++;
- Update(playerid, pFishSkillx);
- if(PlayerInfo[playerid][pFishSkill] == 50)
- { SendClientMessage(playerid, COLOR_YELLOW, "* Skillul tau la jobul Pescar, este acum 2. Vei primi mai multi bani si vei putea lua mai multe kilograme."); }
- else if(PlayerInfo[playerid][pFishSkill] == 100)
- { SendClientMessage(playerid, COLOR_YELLOW, "* Skillul tau la jobul Pescar, este acum 3. Vei primi mai multi bani si vei putea lua mai multe kilograme."); }
- else if(PlayerInfo[playerid][pFishSkill] == 200)
- { SendClientMessage(playerid, COLOR_YELLOW, "* Skillul tau la jobul Pescar, este acum 4. Vei primi mai multi bani si vei putea lua mai multe kilograme."); }
- else if(PlayerInfo[playerid][pFishSkill] == 400)
- { SendClientMessage(playerid, COLOR_YELLOW, "* Skillul tau la jobul Pescar, este acum 5. Vei primi mai multi bani si vei putea lua mai multe kilograme."); }
- if(togjob[playerid] == 0) JobProgress(playerid); //ACEASTA LINIE.
- if(GetPlayerSkill(playerid) == 6) finishAchievement(playerid, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement