[HELP] Problem with (array index out of bounds)
#1

Problem with adding an new faction in the past i have figured out that but now im getting some problems

pawn Код:
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5664) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5665) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5666) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5667) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5668) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5669) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5670) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5671) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5672) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5673) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5813) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5814) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5815) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5816) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5817) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5818) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5819) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5820) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(5821) : error 032: array index out of bounds (variable "FacInfo")
D:\SA-MP\MOD [2014[\Mod [stara verzija]\gamemodes\NRMP.pwn(17524) : error 032: array index out of bounds (variable "FacInfo")
Edit: FIXED thanks to PowerPC603
Reply
#2

My guess is that your MAX_FACTIONS define is set to 11, which gives you indices ranging from 0 to 10, and you're accessing index 11 in your new code.
Reply
#3

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
My guess is that your MAX_FACTIONS define is set to 11, which gives you indices ranging from 0 to 10, and you're accessing index 11 in your new code.
Ah shit i forgot that MAX_FACTIONS
Thanks for help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)