staKS Posted November 2, 2022 Posted November 2, 2022 bun deci cand un player ajunge la skill maxim in loc de 100k cat ii da normal, ii da ca la skill 1, si cand e la skill max ii da pe - ex la fish -120 de pesti prinsi scriptul format(string, sizeof(string), "Ai primit $%s!", FormatNumber(fishing + totalmony)); SendClientMessage(playerid, COLOR_MONEY, string); UpdateJobGoal(totalmony + fishing); GivePlayerCash(playerid, 1, fishing + totalmony); format(string, sizeof(string), "%s a primit $%s pentru munca efectuata la job-ul %s.", GetName(playerid), FormatNumber(fishing + totalmony), JobInfo[PlayerInfo[playerid][pJob]][jName]); InsertLog(playerid, string, LOG_MONEY); if(HaveFish[0][playerid] != 0 && HaveFish[1][playerid] != 0) PlayerInfo[playerid][pFishSkill] += 2; else PlayerInfo[playerid][pFishSkill] ++; Update(playerid, pFishSkillx); HaveFish[0][playerid] = 0; HaveFish[1][playerid] = 0; if(PlayerInfo[playerid][pFishSkill] == 30) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Bronze 1 pentru acest job."); } else if(PlayerInfo[playerid][pFishSkill] == 60) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Bronze 2 pentru acest job."); } else if(PlayerInfo[playerid][pFishSkill] == 90) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Silver 1 pentru acest job."); } else if(PlayerInfo[playerid][pFishSkill] == 120) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Silver 2 pentru acest job."); } else if(PlayerInfo[playerid][pFishSkill] == 150) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Gold 1 pentru acest job."); } else if(PlayerInfo[playerid][pFishSkill] == 180) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Gold 2 pentru acest job."); } else if(PlayerInfo[playerid][pFishSkill] == 210) { SendClientMessage(playerid, COLOR_MONEY, "Ai avansat la skill Diamond pentru acest job."); } if(togjob[playerid] == 0) JobProgress(playerid); if(GetPlayerSkill(playerid) == 6) finishAchievement(playerid, 0); if(PlayerInfo[playerid][pMember] == 0) { for(new m; m < 2; m++) { if(PlayerInfo[playerid][pDailyMission][m] == 13 || PlayerInfo[playerid][pDailyMission][m] == 14) CheckMission(playerid, m); } } DACA VRETI MAI MULTE DETALII ASTEPT MESAJ PE DISCORD CiprianGamer#7742
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now