SA-MP Forums Archive
Amx Backtrace Problem - 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: Amx Backtrace Problem (/showthread.php?tid=634295)



Amx Backtrace Problem - SH0x - 16.05.2017

hi
when i start the server , i recieve some errors .
i put -d3 in pawn.cfg and compile my gamemode then i start the server again , and recieve this errors :



and this is error lines :
line 47342 :

line 16395 :

<3


Re: Amx Backtrace Problem - SyS - 16.05.2017

for(new i=0 ;i<housess;i++)
also i don't see the point of the update function being public.


Re: Amx Backtrace Problem - SH0x - 16.05.2017

Quote:
Originally Posted by SyS
Посмотреть сообщение
for(new i=0 ;i<housess;i++)
also i don't see the point of the update function being public.
does'nt work bro
what i must to do ?


Re: Amx Backtrace Problem - SH0x - 17.05.2017

+ be up


Re: Amx Backtrace Problem - ShihabSoft - 17.05.2017

Btw, as @SyS mentioned, you need to change the for loop checking condition, to just < not <=.

That's the one causing the index error.


Re: Amx Backtrace Problem - Feynman - 17.05.2017

Quote:
Originally Posted by SyS
Посмотреть сообщение
for(new i=0 ;i<housess;i++)
Also remove

Код HTML:
new h = i - 1;
from loops.