Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Eroare "Array index out of bounds"


Question

Posted (edited)

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

server.log:
[19:34:30] [join] Testez has joined the server (0:127.0.0.1)
[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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.