Jump to content
  • 0

Problema /bonus



3 answers to this question

Recommended Posts

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


Link to comment
Share on other sites

  • 0

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





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

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.