Jump to content

Question

Posted

Salut recent mi-am luat gm bugged de pe net. Si ce sa vezi cand merg sa imi iau job-ul de Drugs Dealer intru in "Crack House" dau /getdrugs 444444 

Imi da 2kkk si drogurile ..Ce poate avea ? Job-urile nu sunt pe skill

5 answers to this question

Recommended Posts

  • 0
Posted

Stiu eu ce poate avea, buguri, fa-ti gm-u tau si va fi ca la carte.

242086.png

  • 0
Posted

Nu exista nici un gm bugged e gm vortex "-" :((

 
 
  • 0
Posted

Nu ma supar daca imi arati si comanda :)

Asta ii comanda 

​CMD:getdrugs(playerid, params[])
{
    new amount,string[256];
    if(jobVariables[playerVariables[playerid][pJob]][jJobType] == 5)
    {
        if(IsPlayerInRangeOfPoint(playerid, 5, 247.9920,302.1944,999.1484))
        {
            if(sscanf(params, "d", amount)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/getdrugs [amount]");
        {
            new cash = amount * 1;
            if(playerVariables[playerid][pMoney] >= cash)
            {
                 playerVariables[playerid][pMoney] -= cash;
                 playerVariables[playerid][pDrugs] += amount;
                 format(string,256,"Ai cumparat %d grame de droguri din Crack House.",amount);
                 SCM(playerid, COLOR_TEAL,string);
            }                  
        }    
        }
    }
    else if(playerVariables[playerid][pGroup] == 6 || playerVariables[playerid][pGroup] == 7 || playerVariables[playerid][pGroup] == 8 || playerVariables[playerid][pGroup] == 9 || playerVariables[playerid][pGroup] == 10 || playerVariables[playerid][pGroup] == 11)
    {
        if(sscanf(params, "d", amount)) return SendClientMessage(playerid, COLOR_GREY, SYNTAX_MESSAGE"/getdrugs [amount]");
        {
            if(IsPlayerInRangeOfPoint(playerid, 100.0, groupVariables[playerVariables[playerid][pGroup]][gGroupInteriorPos][0], groupVariables[playerVariables[playerid][pGroup]][gGroupInteriorPos][1], groupVariables[playerVariables[playerid][pGroup]][gGroupInteriorPos][2]))
            {
                if(groupVariables[playerVariables[playerid][pGroup]][gSafe][2] > amount)
                {
                    if(amount <= 15)
                    {
                        groupVariables[playerVariables[playerid][pGroup]][gSafe][2] -= amount;
                        playerVariables[playerid][pDrugs] += amount;
                        format(string,256,"Ai cumparat %d grame de droguri din HQ.",amount);
                        SCM(playerid, COLOR_WHITE, string);
                    }
                    else return SCM(playerid,COLOR_WHITE,"Nu poti cupara mai mult de 15g de droguri.");
                }
                else return SCM(playerid,COLOR_WHITE,"Factiunea ta nu are suficiente droguri in seif.");
            }
            else return SCM(playerid,COLOR_WHITE,"Nu esti in HQ.");
        }
    }
    return 1;
}

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.