Jump to content

NotExxodus

Membru
  • Posts

    7
  • Joined

  • Last visited

Posts posted by NotExxodus

  1. Acum 7 minute, BaFFyJunior a spus:
    
    YCMD:bonus(playerid, params[], help)
    {
        if(PlayerInfo[playerid][pLevel] >= 3) return SCM(playerid, COLOR_LIGHTRED, "Ai primit deja bonusul de inceput sau ai trecut de level 3!");
        PlayerInfo[playerid][pLevel] = 5;
        Update(playerid, pLevel);
        SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]);
        GivePlayerCash(playerid, 15000000);
        Update(playerid, pCashx);
        PlayerInfo[playerid][pPremiumPoints] += 100;
        Update(playerid, pPremiumPointsx);
        UpdateProgress(playerid, 0);
        GiveVehicle(playerid, 600);
        ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "[!] Bonus", "+5 level up [level 5]\n+100 premium points [/shop]\n+$15,000,000\n\nWelcome to the server, have fun!", "Close", "");
        return 1;
    }

    Cred ca problema e asta: UpdateProgress(playerid, pCar);

    Masina se salveaza in functia GiveVehicle, acel updateprogress nu are cum sa fie asa deoarece iti actualizeaza progress barurile(level, job, etc). Daca folosesti functia Update nu ai niciunde acea variabila(pCar). Deci o poti scoate. Sper ca merge. Succes!

    acolo am gresit eu pentru ca e o comanda veche si o am de prin primele mele gamemode-uri (2015-2016)

  2. YCMD:bonus(playerid,params[], help)
    {
        new str[128];
        if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, -1, "Ai folosit odata comanda /bonus nu o mai poti folosi inca odata!");
        if(IsPlayerConnected(playerid))
        {
                {
                PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);
                GivePlayerCash(playerid, 5000000);
                PlayerInfo[playerid][pLevel] = 3;
                PlayerInfo[playerid][pPremiumPoints] += 60;
                  Update(playerid, pCashx);
                GiveVehicle(playerid, 411);
                    Update(playerid, pLevelx);
                Update(playerid, pPremiumPointsx);
                mysql_query(SQL,str);
                 ShowPlayerDialog(playerid, 3354, DIALOG_STYLE_MSGBOX, "Server Bonus", "{ffffff} Ai folosit comanda /bonus si ai primit:\n - Level 3\n - 5.000.000 $\n -{ffff00} 60 {ffffff}Puncte Premium, si o masina infernus","OK","");
            }
        }
        return 1;
    }

     

    Mai editezi tu pe acolo ce vrei

  3. Ma poate ajuta cineva sa fac altfel de pp-uri? Sa se castige cate 15 CP(Collapse Points) la fiecare 2 PayDay-uri si la 100 de CP sa poti cumpara:

    15 Slot uri de masini + 20.000.000

    500 CP:

    2 Monster Truck-uri unul A si unul B

    1.000 CP

    Sa poti cumpara 100.000.000

                                  MERSI

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