Jump to content

DanDanie

Member
  • Posts

    3
  • Joined

  • Last visited

Posts posted by DanDanie

    • Username: Danel.Adv™ 
    • Nume real: Daniel
    • Vârstă: 14 ani
    • Unde locuiești: Pustiul oras Hateg
    • Ocupație: Frec Menta in vacanta si inrest cu scoala..
    • Hobby-uri: Sa dorm si sa `scriptez`
    • Cum ai aflat de comunitate?: De la un prieten!???? 
    • Ce limbaje de programere cunoști?: Pot zice ca,cunosc si io cv in Pawno.. :))
    • Alte precizări: Noapte Buna!
    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 !? ????
  1. 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 !!

×
×
  • Create New...