[HELP] "Array Index out of bounds"
#9

Quote:
Originally Posted by Joe Staff
View Post
Your code is trying to utilize 165 different "CarSpawns" but you've only initialized 1.

Replacing your old code with that will prevent you from out reaching the amount of coordinates you've created, but be aware of your vehicle limits when adding future coordinates.
It work sir, but my server keep restarting when i try to play.
Do you know what happen?

Here's my server logs :

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.DL-R1, ©2005-2018 SA-MP Team

[13:01:10] 
[13:01:10] Server Plugins
[13:01:10] --------------
[13:01:10]  Loading plugin: crashdetect
[13:01:10]   CrashDetect plugin 4.19
[13:01:10]   Loaded.
[13:01:10]  Loading plugin: streamer
[13:01:10] 

*** Streamer Plugin v2.5.2 by Incognito loaded ***

[13:01:10]   Loaded.
[13:01:10]  Loading plugin: sscanf
[13:01:10] 

[13:01:10]  ===============================

[13:01:10]       sscanf plugin loaded.     

[13:01:10]          Version:  2.8.3        

[13:01:10]   © 2018 Alex "Y_Less" Cole  

[13:01:10]  ===============================

[13:01:10]   Loaded.
[13:01:10]  Loading plugin: nativechecker
[13:01:10]   Loaded.
[13:01:10]  Loading plugin: Whirlpool
[13:01:10]  
[13:01:10]  ==================
[13:01:10]  
[13:01:10]   Whirlpool loaded
[13:01:10]  
[13:01:10]  ==================
[13:01:10]  
[13:01:10]   Loaded.
[13:01:10]  Loaded 5 plugins.

[13:01:10] [artwork:crc] lvpdpc2.dff CRC = 0xFBD1EA7C
[13:01:10] [artwork:crc] lvpdpc2.txd CRC = 0xDC92731E
[13:01:10] [artwork:crc] lapdpd2.dff CRC = 0xA558D422
[13:01:10] [artwork:crc] lapdpd2.txd CRC = 0xA442E2DA
[13:01:10] [artwork:crc] wallzzz.dff CRC = 0x4BC6EDFF
[13:01:10] [artwork:crc] wallzzz.txd CRC = 0x235E3EEB
[13:01:10] 
[13:01:10] Filterscripts
[13:01:10] ---------------
[13:01:10]   Loading filterscript 'flymode.amx'...
[13:01:10]   Loading filterscript 'gl_realtime.amx'...
[13:01:10]   Loaded 2 filterscripts.

[13:01:10] Pickups Max = 100, Current Pickups = 78
[13:01:10]  
[13:01:10]  
[13:01:10] -----------------------------
[13:01:10]  Life In 90's Roleplay v1.0
[13:01:10] -----------------------------
[13:01:10]  
[13:01:10]  
[13:01:10] Number of vehicle models: 27
[13:01:23] Pickups Max = 100, Current Pickups = 78
[13:01:23]  
[13:01:23]  
[13:01:23] -----------------------------
[13:01:23]  Life In 90's Roleplay v1.0
[13:01:23] -----------------------------
[13:01:23]  
[13:01:23]  
[13:01:23] Number of vehicle models: 28

And i think the problem is here, but how to fix it?


Code:
[13:01:10] [artwork:crc] lvpdpc2.dff CRC = 0xFBD1EA7C
[13:01:10] [artwork:crc] lvpdpc2.txd CRC = 0xDC92731E
[13:01:10] [artwork:crc] lapdpd2.dff CRC = 0xA558D422
[13:01:10] [artwork:crc] lapdpd2.txd CRC = 0xA442E2DA
[13:01:10] [artwork:crc] wallzzz.dff CRC = 0x4BC6EDFF
[13:01:10] [artwork:crc] wallzzz.txd CRC = 0x235E3EEB
Reply


Messages In This Thread
[HELP] "Array Index out of bounds" - by hatcis - 17.11.2018, 05:09
Re: [HELP] "Array Index out of bounds" - by Mencent - 17.11.2018, 05:55
Re: [HELP] "Array Index out of bounds" - by hatcis - 17.11.2018, 15:56
Re: [HELP] "Array Index out of bounds" - by Joe Staff - 17.11.2018, 16:53
Re: [HELP] "Array Index out of bounds" - by kingmk - 17.11.2018, 21:43
Re: [HELP] "Array Index out of bounds" - by hatcis - 18.11.2018, 02:29
Re: [HELP] "Array Index out of bounds" - by hatcis - 18.11.2018, 02:31
Re: [HELP] "Array Index out of bounds" - by Joe Staff - 18.11.2018, 04:00
Re: [HELP] "Array Index out of bounds" - by hatcis - 18.11.2018, 04:02

Forum Jump:


Users browsing this thread: 2 Guest(s)