24.01.2010, 00:53
After i, add the location of those variables, since you did not include where they are from. (Ex: CarInfo enum)
pawn Код:
CMD:auto(playerid, params[])
{
#pragma unused params
new query[50];
for(new i = 0; i < 591; i ++)
{
format(query, sizeof(query), "INSERT INTO `vehicles` (ID) VALUE (%d,%f,%f,%f,%f,%d,%d,%d)", i,);
mysql_query(query);
}
return 1;
}