Jump to content

MarianLeo

Membru
  • Posts

    3
  • Joined

  • Last visited

Posts posted by MarianLeo

  1. 1 hour ago, shane said:

    Salut @MarianLeo,

    Prima eroare se produce deoarece scriptul tau incearca sa acceseze un id care nu exista pe server. Pentru a rezolva eroarea, tot ce ai de facut e sa detectezi daca id-ul jucatorului este diferit de INVALID_PLAYER_ID. Probabil e de la functia GetVehicleDriver.

    Pentru a 2-a eroare, verifica daca MAX_PERSONAL_VEHICLES nu e cumva mai mare decat pCar[ x ], astfel accesand un ID care nu exista.

    ti-am dat add pe discord te rog sa accepti sa te intreb ceva.

  2. [debug] Run time error 4: "Array index out of bounds"
    [debug]  Attempted to read/write array element at index 65535 in array of size 50
    [debug] AMX backtrace:
    [debug] #0 001502ac in public SetPlayerUnjail () at gamemode.pwn:16861

    //2

    [debug] Run time error 4: "Array index out of bounds"
    [debug]  Attempted to read/write array element at index 4287120 in array of size 50
    [debug] AMX backtrace:
    [debug] #0 001c54c4 in public SyncUp () at gamemode.pwn:22386

     

    https://pastebin.com/2cQ2Es37

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