Jump to content
  • 0

Problema comanda bani


marius11

Question

Problema intalnita (descriere):Pai problema este ca . am adaugat la sistemul shop +100000$ cu puncte premium , totul merge bine nu da nici un warning nimic dar cand un player ia bani din shop cu pp primeste bani dar daca mai vrea sa ia inca o data ii ia pp dar bani nu ii da
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):

    case 10:
                    {
                        if(playerVariables[playerid][pPremiumPoints] >= 30)
                        {
                            playerVariables[playerid][pMoney] = 100000;
                            playerVariables[playerid][pPremiumPoints] -= 30;
                            SCM(playerid, COLOR_GREY, "AI Primit 100k in schimbul a 30 pp ");
                        }
                        else
                        {
                            SCM(playerid, COLOR_GREY, "You do not have enough Premium Points!");
                        }
                    }

Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Nu stiu ce sa ii fac sa mearga

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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.