Doesn't insert data.
#3

pawn Код:
if(HouseInfo[houseid][EPosX] == 1)
houseid is -1; therebefore a run time error 4: Array index out of bounds for accessing element at negative index -1. Replace with:
pawn Код:
if(HouseInfo[i][EPosX] == 1)
That will fix the unknown command and probably the query problem. If it still doesn't insert the data, make sure that String array's size is enough to store the whole text.
Reply


Messages In This Thread
Doesn't insert data. - by Binx - 06.04.2014, 16:20
Re: Doesn't insert data. - by Corekt - 06.04.2014, 16:26
Re: Doesn't insert data. - by Konstantinos - 06.04.2014, 16:27
Re: Doesn't insert data. - by Binx - 06.04.2014, 16:43
Re: Doesn't insert data. - by Konstantinos - 06.04.2014, 16:50
Re: Doesn't insert data. - by Binx - 06.04.2014, 16:53
Re: Doesn't insert data. - by Konstantinos - 06.04.2014, 16:59
Re: Doesn't insert data. - by Binx - 06.04.2014, 17:07
Re: Doesn't insert data. - by Konstantinos - 06.04.2014, 17:42
Re: Doesn't insert data. - by Binx - 06.04.2014, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)