Jump to content
  • 0

Problema comanda bonus


Iulian2

Question

7 answers to this question

Recommended Posts

  • 0

arata ce ai incercat sa faci si noi o sa te ajutam

Citat
Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

  • 0
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?

[ Anti Flood Pack ] / Click [ Pugb SA:MP ] Click / [ TD Autorizatie ] Click
[ Created dm zone ] Click / [ Salvare vreme si timp ] Click [ Statistica a serverului ] Click
[ Sistema duel ] Click [ TD Registrare/Autorizatie ] Click [ Sistema kill/killed by ] Click
[ Sistema data si ora Click /  [ GM Anticheat ] Click   /  [ Schimbarea mersului ] Click
[ Save Camera ] Click  [ Sitema Concurs ] Click [ Projector pentru elicopter ] Click /
[ DM Zona ] Click / [ Folosirea textelor lungi ] Click / [Khain RPG] Click  / Antisobeit Click
Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0
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

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
Answer this question...

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

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