Jump to content

[REZOLVAT] CINE MA AJUTA CU SISTEM BONUS?


Syntetick
 Share

Recommended Posts

YCMD:bonus(playerid, params[], help) {
    if(PlayerInfo[playerid][pLevel] == 2) return SCM(playerid, COLOR_RED, "Ai primit deja acest bonus!");
    if(PlayerInfo[playerid][pLevel] == 1) {
        PlayerInfo[playerid][pLevel] = 2; Update(playerid, pLevelx);
        GivePlayerCash(playerid, 500000); Update(playerid, pCashx);
        PlayerInfo[playerid][pPremiumPoints] += 20; Update(playerid, pPremiumPointsx);
        SCM(playerid, COLOR_YELLOW, "Felicitari, ai tastat comanda {FF0000}[/bonus] si ai primit");
        SCM(playerid, COLOR_YELLOW, "500,000$, Levelup si 20 PremiumPoints !");
        SCM(playerid, COLOR_YELLOW, "Staff-ul Power-Times iti ureaza distractie placuta!"); 
    }
    return 1;
}



Sper ca te-am ajutat !!

Link to comment
Share on other sites

  1. YCMD:bonus(playerid, params[], help) {
  2.     if(PlayerInfo[playerid][pLevel] != 1) return SCM(playerid, COLOR_RED, "Ai primit deja acest bonus!");
  3.    
  4.     PlayerInfo[playerid][pLevel] = 2; Update(playerid, pLevelx);
  5.     GivePlayerCash(playerid, 500000); Update(playerid, pCashx);
  6.     PlayerInfo[playerid][pPremiumPoints] += 20; Update(playerid, pPremiumPointsx);
  7.     SCM(playerid, COLOR_YELLOW, "Felicitari, ai tastat comanda {FF0000}[/bonus] si ai primit");
  8.     SCM(playerid, COLOR_YELLOW, "500,000$, Levelup si 20 PremiumPoints !");
  9.     SCM(playerid, COLOR_YELLOW, "Staff-ul Power-Times iti ureaza distractie placuta!");
  10.  
  11.     return 1;
  12. }


    ia vezi asta !? ????
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...