Please Help : Run Time Error 4
#1

Hello Sa-mp Comunity !


I need your help... i don`t know how to fix this problem and i would appreciate if you can help me !

When i try to use commands on players i get: Error: Player is not connecter and i got this message in console and i can`t use any command to that player.

Код:
[01:21:54] [debug] Run time error 4: "Array index out of bounds"
[01:21:54] [debug]  Accessing element at index 65535 past array upper bound 59
[01:21:54] [debug] AMX backtrace:
[01:21:54] [debug] #0 000429e8 in public cmd_get () from LuxAdmin.amx
[01:21:54] [debug] #1 native CallLocalFunction () [00472ad0] from samp-server.exe
[01:21:54] [debug] #2 00007a28 in public OnPlayerCommandText () from LuxAdmin.amx
Btw, i`m Newbie not a Proffesional Scripter.

Thank you for your Time !

Best Wishes !
Reply
#2

Somebody...? Please
Reply
#3

Ok then... thank you -.- You can delete this post ! Nobody wants to help me
Reply
#4

Quote:

Very simple, you're trying to access out-of-bound data in an array, in other words, a cell inside of an array that doesn't exist.

Solution: If you're using the crashdetect plugin, it'll tell you which callback the error is in. Simply debug your code until you find the culprit, then remove it.

https://sampforum.blast.hk/showthread.php?tid=482429
Reply
#5

Thank you bro ! I`ll try this.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)