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.