Jump to content

skills


staKS

Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.