Okay, so, I have this.
Code:
while(SQL_MoreResults(Query))
{
SQL_ReadResult(Query,0,Origin[0]);
SQL_ReadResult(Query,1,Origin[1]);
SQL_ReadResult(Query,2,Origin[2]);
new Float:Distance = get_distance_f(Origin,EntOrigin);
if(Distance <= 37.0)
{
// RIGHT HERE I WANT TO DELETE THIS ROW
}
SQL_NextRow(Query);
}
}
Reading the comment, is it possable to get what row it's reading? So i can delete it. SQL_NextRow doesn't return a value, so I have no idea.
__________________