CrashDetect Problem
#4

The size of VMachines array is 43, this means the valid indexes are 0-42. Using sizeof is the best choice so if you add or remove data from the array you won't have to worry about run time error 4 again.

pawn Код:
for(new i = 0; i < sizeof VMachines; i++)
Reply


Messages In This Thread
CrashDetect Problem - by memurt - 05.11.2016, 18:02
Re: CrashDetect Problem - by Misiur - 05.11.2016, 18:14
Re: CrashDetect Problem - by memurt - 05.11.2016, 20:01
Re: CrashDetect Problem - by Konstantinos - 05.11.2016, 21:00
Re: CrashDetect Problem - by memurt - 06.11.2016, 07:50
Re: CrashDetect Problem - by memurt - 06.11.2016, 08:25
Re: CrashDetect Problem - by memurt - 06.11.2016, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)