Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Cand dau comanda bonus pe server imi apare ca am castigat 3kk si level 5 dar trebuie sa dau relog ca sa apara si pe TAB,ce as putea sa fac?

 

3 answers to this question

Recommended Posts

  • 0
Posted
Acum 3 ore, Raul112233 a spus:

Cand dau comanda bonus pe server imi apare ca am castigat 3kk si level 5 dar trebuie sa dau relog ca sa apara si pe TAB,ce as putea sa fac?

 

Nu trebuie sa dai relog ca sa apara pe tab lvl playerului 

 Încearcă să fii un om de valoare și nu neapărat un om de succes.

 

  • 0
Posted (edited)

Deci , ca sa fie treaba treaba, o sa-ti fac eu cum ar trebui sa fie comanda :

 

 

Citat

 

CMD:bonus(playerid, params[]) {
    if(PlayerInfo[playerid][pLevel] == 1) {
        GivePlayerMoney(playerid, 3000000); // Poti schimba GivePlayerMoney si in GivePlayerCash ( depinde de gamemode )
        Update(playerid, pCashx);
        PlayerInfo[playerid][pLevel] == 5;
        SetPlayerScore(playerid, 5);
        SCM(playerid, -1, "(BONUS):{FFFF00} Ai primit din partea server-ului 3.000.000$ si level 5. Spor la joaca.");
    } else return SCM(playerid, -1, "Ai luat deja bonus-ul."); // Aici returneaza un mesaj daca cumva are level mai mare decat 1.

    return 1;
}

 

 

Sper ca nu am omis nimic.

Edited by RaulDume

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.