[debug] Run time error 4: "Array index out of bounds"
#1

PHP код:
[04:05:52] [debugRun time error 4"Array index out of bounds"
[04:05:52] [debug]  Accessing element at index 65535 past array upper bound 1999
[04:05:52] [debugAMX backtrace:
[
04:05:52] [debug#0 00113700 in LoadVehicles (storeid=9) at C:\Users\-\Desktop\voor reboot\unnamed roleplay\gamemodes\DL-RP.pwn:21373
[04:05:52] [debug#1 001fc2bc in InitVehicles () at C:\Users\-\Desktop\voor reboot\unnamed roleplay\gamemodes\DL-RP.pwn:28401
[04:05:52] [debug#2 000174b4 in public S@@_OnGameModeInit () at C:\Users\-\Desktop\voor reboot\unnamed roleplay\gamemodes\DL-RP.pwn:1774
[04:05:52] [debug#3 00006dc8 in public Itter_OnGameModeInit () at C:\Users\-\Desktop\voor reboot\unnamed roleplay\pawno\include\YSI\y_hooks/impl.inc:484
[04:05:52] [debug#4 native CallLocalFunction () [004743b0] from samp-server.exe
[04:05:52] [debug#5 00001dc4 in public ScriptInit_OnGameModeInit () at C:\Users\-\Desktop\voor reboot\unnamed roleplay\pawno\include\YSI\y_iterate.inc:791
[04:05:52] [debug#6 000009e4 in Debug_Print0 () at C:\Users\-\Desktop\voor reboot\unnamed roleplay\pawno\include\YSI\internal\..\y_scriptinit.inc:171
[04:05:52] [debug#7 native CallLocalFunction () [004743b0] from samp-server.exe
[04:05:52] [debug#8 000003b8 in Debug_Print0 () at C:\Users\-\Desktop\voor reboot\unnamed roleplay\pawno\include\zcmd.inc:68
[04:05:52]  
[
04:05:52]  
[
04:05:52] -----------------------GAMEMODE LOADING-----------------------
[
04:05:52] -----------------------Script has been loaded --------------------
[
04:05:52] -----------------------GAMEMODE LOADED------------------------
[
04:05:52]  
[
04:05:52]  
[
04:05:52Number of vehicle models2
[04:06:11] [connection192.168.178.20:58943 requests connection cookie.
[
04:06:12] [connectionincoming connection192.168.178.20:58943 id0
[04:06:12] [debugRun time error 20"Invalid index parameter (bad entry point)" 
21373
PHP код:
VehicleBattery[Vehicles[storeid][DLID]] = 100
28401
PHP код:
stock InitVehicles()
{
    for(new 
idid MAX_SERVERVEHICLESid++) // Goes through all the slots, looking for the data
    
{
         
LoadVehicles(id);
    } <<<< 
28401
    
return 1;

1774
PHP код:
InitBusinesses(); 
I don't understand the problem anymore, Its not loading the textdraws Objects and more....
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)