06.07.2012, 21:48
Well, you are saving values greater than 1 in a tinyint field. Not exactly sure if that would affect the result. Sscanf statement looks fine as far as I can see.
But honestly, tell me who taught you to load stuff like this;
That's seriously inefficient and ruins the whole point of MySQL.
But honestly, tell me who taught you to load stuff like this;
pawn Code:
for(new i = 1; i < MAX_VEHICLES; i++)
{
format(query,512, "SELECT * FROM Vehicle WHERE ID = '%d'", i);