Jump to content

FreshCandy

Membru
  • Posts

    17
  • Joined

  • Last visited

Posts posted by FreshCandy

  1. 1 minute ago, AlexxAdv said:

    Vezi la ce enum ai pVIP si vezi la ce enum este definit AccInfo

    // Enums
    new reactionstr[9]; //randomly generated string
    new reactioninprog; //what status the reactiontest is at
    new reactionwinnerid; //id of the current reactiontest winner
    new reactiongap; //timer to restart ReactionTest()
    new raddon[15] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
    // Some new stuff
    new Reclamtd[][]=

     

    pun acolo New pVip

    New AccInfo 

    sau?

  2. 2 minutes ago, AlexxAdv said:

    Si linille nu le zici care sunt?

    12932:       if (dialogid == BuyVip)

    12934:      if(response)

    12936:          if(listitem == 0)

    12938:              if AccInfo[playerid][hours] >= 1) //Orele care trebuie sa le aiba playerul

    12943:              }
                else
                {

     

  3. Asta e comanda adaugata

    if (dialogid == BuyVip)
    {
        if(response)
        {
            if(listitem == 0)
            {
                if AccInfo[playerid][hours] >= 1) //Orele care trebuie sa le aiba playerul
                {
                    AccInfo[playerid][pVip] = 1; //Levelul la VIP
                    AccInfo[playerid][hours] -= 1;
                }
                else
                {
                    SendClientMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore destule
                }
            }
            if(listitem == 1)
            {
                if AccInfo[playerid][hours] >= 20) //Orele pentru a cumpara VIP
                {
                    AccInfo[playerid][pVip] = 2; //Levelul de VIP
                    AccInfo[playerid][hours] -= 20;
                }
                else
                {
                    SendClientMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are ore suficiente
                }
            }
            if (listitem ==  2)
            {
                if AccInfo[playerid][hours] >= 30) //Orele care trebuiesc pentru a cumpara VIP
                {
                    AccInfo[playerid][pVip] = 3; //Levelul VIP
                    AccInfo[playerid][hours] = 30;
                }
                else
                {
                    SendClientMessage(playerid,green,"Nu ai destule ore pentru a cumpara VIP !"); //Mesajul daca nu are destule ore
                }
    }
    //Sfarsit...............................................................................................................

    Si eroriile sunt astea


    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12932) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12934) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12936) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12938) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12943) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12948) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12950) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12955) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12960) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12962) : error 010: invalid function or declaration
    C:\Users\Dragos\Desktop\Romania Black Zone Stunt-Zone\gamemodes\RO1.pwn(12967) : error 010: invalid function or declaration
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    13 Errors.
     

    erorile astea sunt la fiecare ''else'' la comanda

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