SA-MP Forums Archive
Error 213 & 032 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error 213 & 032 (/showthread.php?tid=618724)



Error 213 & 032 - Mo123 - 09.10.2016

So I tried compiling a script but I received several errors:

../gamemodes/inc/drone.inc(14) : warning 213: tag mismatch
../gamemodes/inc/drone.inc(14) : error 032: array index out of bounds (variable "PlayerInfo")
../gamemodes/inc/drone.inc(45) : warning 213: tag mismatch
../gamemodes/inc/drone.inc(45) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2271) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2272) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(228 : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(228 : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2291) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2291) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2309) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2309) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2327) : warning 213: tag mismatch


Re: Error 213 & 032 - GhostHacker - 09.10.2016

Good i will send my magicians to fix the error without seeing the code.


Re: Error 213 & 032 - Quinncell - 09.10.2016

Please provide code.You can't expect people to help you without providing the code where the errors occur.


Re: Error 213 & 032 - Mo123 - 09.10.2016

2400 > if(PlayerInfo[playerid][pMember] != 7 && PlayerInfo[playerid][pMember] != 6)

2408 > if(PlayerInfo[playerid][pMember] == 7)

2414 > SendRadioMessage(PlayerInfo[playerid][pMember], TEAM_BLUE_COLOR, msg);


C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2400) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2400) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2408) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2408) : error 032: array index out of bounds (variable "PlayerInfo")
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2414) : warning 213: tag mismatch
C:\Users\Saved Games\Desktop\test\gamemodes\GRP.pwn(2414) : error 032: array index out of bounds (variable "PlayerInfo")


Re: Error 213 & 032 - SyS - 09.10.2016

Show us your enum and what you done with pMember var
Index out of bond means you are pointing an index greater than an array's upper bound.And tag mismatch error is self explanatory