Jump to content

RangerRPG

Membru
  • Posts

    28
  • Joined

  • Last visited

Posts posted by RangerRPG

  1. aici 

    }    

    YCMD:skills(playerid, params[], help) {
        gString[0] = EOS; format(gString, sizeof(gString), "Skill name\tRank\tPoints for rank up\tInfo\n\
            Farmer\t%s\t%d\t%s\nTrucker\t%s\t%d\t%s\nArms Dealer\t%s\t%d\t%s\nPizza Boy\t%s\t%d\t%s\nFisherman\t%s\t%d\t%s\n",
            skillName(GetPlayerSkill2(playerid, 1)), GetNeedPoints(playerid, 1)-JoPlayPoints2(1, playerid), jobInfoSkill(1, GetPlayerSkill2(playerid, 1)),
            skillName(GetPlayerSkill2(playerid, 2)), GetNeedPoints(playerid, 2)-JoPlayPoints2(2, playerid), jobInfoSkill(2, GetPlayerSkill2(playerid, 2)),
            skillName(GetPlayerSkill2(playerid, 4)), GetNeedPoints(playerid, 4)-JoPlayPoints2(4, playerid), jobInfoSkill(4, GetPlayerSkill2(playerid, 4)),
            skillName(GetPlayerSkill2(playerid, 6)), GetNeedPoints(playerid, 6)-JoPlayPoints2(6, playerid), jobInfoSkill(6, GetPlayerSkill2(playerid, 6)),
            skillName(GetPlayerSkill2(playerid, 7)), GetNeedPoints(playerid, 7)-JoPlayPoints2(7, playerid), jobInfoSkill(7, GetPlayerSkill2(playerid, 7)));
        ShowPlayerDialog(playerid, 0, DIALOG_STYLE_TABLIST_HEADERS, "Skills", gString, "Exit", "");
        return true; }

     

  2. 1 minute ago, Aquario. said:

    Pai te-au ajutat ma, omule! Uita-te atent la ce ti-au zis ei, ia-le incet si atent, faci usor si testezi pana merge, asa inveti.

    la functiile unde iti da skill, pluseaza la cele care sunt gresite cu +1

     unde e asta?
  3. 1 minute ago, Raduq said:

    pai cauta asta la ctrl f in gm: "progres job %s" si o sa gasesti acolo cred, nush ce ai tu in gm acolo

    function JobProgress(playerid) {
        new string[128];    
        if(GetPlayerSkill(playerid) == 5) format(string, sizeof(string), "Progres job %s: %d (skill maxim)", JobInfo[PlayerInfo[playerid][pJob]][jName], JoPlayPoints(playerid));
        else format(string, sizeof(string), "Progres job %s: %d/%d (%d necesare pentru urmatorul skill)", JobInfo[PlayerInfo[playerid][pJob]][jName], JoPlayPoints(playerid), GetNeedPoints(playerid, PlayerInfo[playerid][pJob]), GetNeedPoints(playerid, PlayerInfo[playerid][pJob])-JoPlayPoints(playerid));
        SCM(playerid, COLOR_YELLOW, string);
        return true;
    }

×
×
  • 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.