Sziaztok!
Valaki megtudná nekem mondani, hogy ebbe mi a hiba?
stock LoadVehicles()
{
new Query[255], id;
format(Query, sizeof(Query), \"SELECT * FROM vehicles\");
mysql_query(Query);
mysql_store_result();
while(mysql_fetch_row(Query,\"|\"))
{
id = LoadedInfo[Vehicles];
sscanf(Query, \"p<|>e\", VehicleInfo[id]);
new Color1 = random(126); new Color2 = random(126);
CreateVehicle(VehicleInfo[id][Model],VehicleInfo[id][Pos][X],VehicleInfo[id][Pos][Y],VehicleInfo[id][Pos][Z],VehicleInfo[id][Pos][R],Color1,Color2, 60*10000);
LoadedInfo[Vehicles] = LoadedInfo[Vehicles] + 1;
}
}
Hiba:
(75) : error 035: argument type mismatch (argument 3)
75. sor:
while(mysql_fetch_row(Query,\"|\"))
Köszönöm elõre is a gyors válaszokat!