Jump to content
  • 0

Problema comanda bonus


Question

7 answers to this question

Recommended Posts

  • 0
Posted
Acum 8 ore, Iulian2 a spus:

O comanda /bonus pentru gm BURNED?

Salut uite aici:

 

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;
}

  • 0
Posted

@Adel El cel mai probabil foloseste z-cmd nu YCMD daca zice ca e vorba de Burned sau poate a schimbat z-cmd cu YCMD dar nu prea conteaza ca daca e ceva sterge Y din fata si help de la coada pe primul rand.

 

YCMD:copianuarevaloare(playerid, params[], help) {
    if(PlayerInfo[playerid][pCopiator] == 1) {
        PlayerInfo[playerid][pProstie] = 9999;
        SendClientMessage(playerid, COLOR_RED, "Felicitari! Ai primit +9999 prostie pentru ca esti un copiator infect");
    }
    return 1;
}

  • 0
Posted
Acum 6 ore, AndyAdv a spus:

@Adel El cel mai probabil foloseste z-cmd nu YCMD daca zice ca e vorba de Burned sau poate a schimbat z-cmd cu YCMD dar nu prea conteaza ca daca e ceva sterge Y din fata si help de la coada pe primul rand.

 

Nu a zis Zcmd sau ycmd

  • 0
Posted
La 08.02.2019 la 3:10, Adel a spus:

Salut uite aici:

 

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;
}

Comanda asta o poti folosi la infinit,unde e limita doar de o singura data,ti se pare ca el stie sa o faca?

  • 0
Posted

Uite aici comanda simpla.

}
CMD:bonus(playerid,params[]) {
    if(PlayerInfo[playerid][pLevel] > 1) return SendClientMessage(playerid, COLOR_WARNING, "Ai folosit deja /bonus");
    GivePlayerCash(playerid, 100000000);
    PlayerInfo[playerid][pLevel] = 3;
    PlayerInfo[playerid][pPremiumPoints] = 1500;
    Update(playerid, pLevelx);
    Update(playerid, pPremiumPointsx);
    SendClientMessage(playerid, COLOR_LGREEN, "Bonus : Ai primit 100,000,000$ 1500 Puncte Premium si Nivel 3.");
    return 1;
}

Poti modifica banii pp-urile si level-ul bft.

  • 0
Posted
Acum 8 minute, caltabos a spus:

Uite aici comanda simpla.

}
CMD:bonus(playerid,params[]) {
    if(PlayerInfo[playerid][pLevel] > 1) return SendClientMessage(playerid, COLOR_WARNING, "Ai folosit deja /bonus");
    GivePlayerCash(playerid, 100000000);
    PlayerInfo[playerid][pLevel] = 3;
    PlayerInfo[playerid][pPremiumPoints] = 1500;
    Update(playerid, pLevelx);
    Update(playerid, pPremiumPointsx);
    SendClientMessage(playerid, COLOR_LGREEN, "Bonus : Ai primit 100,000,000$ 1500 Puncte Premium si Nivel 3.");
    return 1;
}

Poti modifica banii pp-urile si level-ul bft.

Daca apare o problema pui si Update(playerid, pCashx);

sau verifici culorile

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.