Jump to content
  • 0

Eroare "Array index out of bounds"



Buna seara, stimati membrii. Am o mica problema la gamemode-ul la care lucrez de ceva vreme.

[19:34:30] [join] Testez has joined the server (0:
[19:34:30] [debug] Run time error 4: "Array index out of bounds"
[19:34:30] [debug]  Accessing element at index 12 past array upper bound 11
[19:34:30] [debug] AMX backtrace:
[19:34:30] [debug] #0 00019c3c in ?? (3439, 47452416, 47452420, 47452424, 47452428, 47452432, 47452436, 2, 0) from gm.amx
[19:34:30] [debug] #1 00272f60 in ?? (0) from gm.amx
[19:34:30] [debug] #2 0006fb34 in public MP_OPC (0) from gm.amx
[19:34:30] [debug] #3 native CallLocalFunction () from samp-server.exe
[19:34:30] [debug] #4 0000bc50 in public SSCANF_OnPlayerConnect (0) from gm.amx
[19:34:30] [debug] #5 000027c0 in public Itter_OnPlayerConnect (0) from gm.amx
[19:34:30] [debug] #6 00001634 in public OnPlayerConnect (0) from gm.amx

Din cate am vazut eu, este o problema la public-ul OnPlayerConnect. Am verificat fiecare functie si nu vad sa fie vreo problema
Link de la OnPlayerConnect: https://pastebin.com/hkzQcveM


EDIT: Serverul da aceasta eroare doar daca folosesc functia TimestampToDate

Edited by Flaviu11
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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