Jump to content

k1ll3rhawk

Membru
  • Posts

    22
  • Joined

  • Last visited

Posts posted by k1ll3rhawk

  1. Cum fac un tutorial interactiv, din clasicul si vechiul tutorial cu timere, sa il transform in tutorial actual interactiv in care te pune pas cu pas sa mergi la 24/7 si sa cumperi telefon, sau sa mergi la un burgershot, si sa nu poti trece mai departe daca nu faci secventa de pasi.

  2. 9 minutes ago, [El.Capo] said:

    Nu ai rezolvat nimic asa, acum nu o sa iti mai ia numele din baza de date la owner ! deaorece nu este de tip string!

    Am rezolvat, ia numele din baza de date, si acum apare corect peste tot

  3. Update:

    Logul meu arata asa acum

    [19:50:42] [debug] Run time error 4: "Array index out of bounds"
    [19:50:42] [debug]  Accessing element at index 13 past array upper bound 12
    [19:50:42] [debug] AMX backtrace:
    [19:50:42] [debug] #0 0028ce48 in public LoadJobs () from RYL.amx
    [19:50:42] [debug] #1 000b6ef8 in public L_AFK_OnGM () from RYL.amx
    [19:50:42] [debug] #2 native CallLocalFunction () from samp03svr
    [19:50:42] [debug] #3 00012f4c in public zcmd_OnGameModeInit () from RYL.amx
    [19:50:42] [debug] #4 native CallLocalFunction () from samp03svr
    [19:50:42] [debug] #5 00012a94 in public SSCANF_OnGameModeInit () from RYL.amx
    [19:50:42] [debug] #6 0000cdfc in public Itter_OnGameModeInit () from RYL.amx
    [19:50:42] [debug] #7 native CallLocalFunction () from samp03svr
    [19:50:42] [debug] #8 0000c0cc in public ScriptInit_OnGameModeInit () from RYL.amx
    [19:50:42] [debug] #9 0000b0ac in public PZone_OnGameModeInit () from RYL.amx
    [19:50:42] [debug] #10 native CallLocalFunction () from samp03svr
    [19:50:42] [debug] #11 00000d10 in public OnGameModeInit () from RYL.amx

  4. On 4/21/2020 at 10:54 AM, Raul Tiganu said:

    Da ne liniile de la "DIALOG_JOBS" pentru ca din comanda nu putem sa ne dam seama.

      

    Quote

         case DIALOG_JOBS: {
                if(!response) return 1;
                if(CP[playerid] != 0) return ShowPlayerDialog(playerid, DIALOG_CHECKPOINT, DIALOG_STYLE_MSGBOX, "Checkpoint", "Ai deja un checkpoint activ.\nDoresti sa-l anulezi? Daca da, apasa pe 'Ok'.", "Ok", "Exit");
                new j = listitem + 1;
                if(j >= 7) j++;
                format(string, sizeof(string), "Ti-a fost pus un checkpoint catre job-ul %s. Distanta: %0.2fm", JobInfo[j][jName], GetPlayerDistanceFromPoint(playerid, JobInfo[j][jPosX], JobInfo[j][jPosY], JobInfo[j][jPosZ]));
                SendClientMessage(playerid, COLOR_YELLOW, string);
                SetPlayerCheckpointEx(playerid, JobInfo[j][jPosX], JobInfo[j][jPosY], JobInfo[j][jPosZ], 1);
                CP[playerid] = 53;
            }

     

  5. Salut am o problema la comanda /jobs

    Quote

    CMD:jobs(playerid, params[]) {
        if(InRaceArena[playerid] == 1) return SCM(playerid, COLOR_LGREEN, "Nu ai voie sa folosesti aceasta comanda atata timp cat esti in arena de curse!");
        if(JobWorking[playerid] == 1) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda acum deoarece muncesti!");
        new szDialog[1024], szDialog2[1024], szTitle[50], xx;
        strcat(szDialog2, "Job name\tOwner\tDistance\n");
        for(new j = 0; j < MAX_JOBS; j++) {
            if(strlen(JobInfo[j][jName]) >= 1 && j != 7) {
                format(szDialog, sizeof(szDialog), "%s\t%s\t{CBFF96}%0.2fm\n", JobInfo[j][jName], JobInfo[j][jOwner], GetPlayerDistanceFromPoint(playerid, JobInfo[j][jPosX],JobInfo[j][jPosY],JobInfo[j][jPosZ]));
                strcat(szDialog2, szDialog);
                xx++;
            }
        }
        format(szTitle, sizeof(szTitle), "Jobs: %d", xx);
        ShowPlayerDialog(playerid, DIALOG_JOBS, DIALOG_STYLE_TABLIST_HEADERS, szTitle, szDialog2, "Ok", "Cancel");
        return 1;
    }

    si in game arata asa:

    image.thumb.png.7570b6a302f16fb8c02ecbe611c37e64.png

  6. Salut, am nevoie sa stiu cum fac ca in baza de date, la users, la fiecare user sa fie creat o noua linie, spre exemplu cum e level sau money sa am alta linie pentru un numar cum ar fi credit la telefon, cum fac sa adaug aceasta linie in baza de date din gm?

  7. Salut, am adaugat toate datele modificate la panel cu cele ale serverului de pe host si in panel am eroarea asta in errorlog

    Quote

    SQLSTATE[28000] [1045] Access denied for user 'client457'@'s082.systemsunit.com' (using password: YES)

    Edit. Serverul este hostat la gazduire si webhostul cu domeniul la alta firma

  8. Salut toti cred ca stiu GM-ul de la BIGZONE, presupun ca stiti si de bug-ul de la dealership, in care apesi sa cumperi sa spunem un turismo si când dai click pe el iti apare ca vei cumpara un infernus sau altceva.

    Ce ii fac? Am tot incercat sa il repar dar nu am reusit nimic.

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