Jump to content
  • 0

Question

Posted

Problema intalnita (descriere):Comanda se executa cu succes dar da si unknow command cand se executa si se poate face sa apara sub foruma DIALOG_STYLE_MSGBOX
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

CMD:bonus(playerid, params[])
{
          if(playerVariables[playerid][pLevel] == 1)
           {
                playerVariables[playerid][pLevel] = 3;
                playerVariables[playerid][pMoney] += 10000000;
                SendClientMessage(playerid, COLOR_LIGHTBLUE, "Ai primit bonus 10kk si lvl 3 ! !");
          }
            else return SendClientMessage(playerid, COLOR_GREEN, "{CCCCCC}[BONUS] Ai folosit deja aceasta comanda sau nu ai level 1 !");
    return 0;
}


Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da 

Untitled.png

2 answers to this question

Recommended Posts

  • 0
Posted

Salut.

Pune sus

#define DIALOG_BONUS 10000

Comanda:

CMD:bonus(playerid, params[])
{
          if(playerVariables[playerid][pLevel] == 1)
           {
                playerVariables[playerid][pLevel] = 3;
                playerVariables[playerid][pMoney] += 10000000;
               

ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, "Notice", "Ai primit 10kk si level 3", "Ok", "");


          }
            else return SendClientMessage(playerid, COLOR_GREEN, "{CCCCCC}[BONUS] Ai folosit deja aceasta comanda sau nu ai level 1 !");
    return 1;
}

 

 

Guest
This topic is now closed to further replies.
×
×
  • 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.