Würde dieser Stock gehen:
stock mysql_CheckFrakCar(playerid)
{
new Query[128],Name[MAX_PLAYER_NAME],count;
for(new v=0; v<MAX_FRAKTIONSCARS; v++)
{
new dingsid[10];
format(dingsid,sizeof(dingsid),"%i",v);
format(Query, sizeof(Query), "SELECT * FROM `fraktionscars` WHERE `vID` > '0'", v);
mysql_query(Query);
mysql_store_result();
count = mysql_num_rows();
mysql_free_result();
}
return count;
}
{
new Query[128],Name[MAX_PLAYER_NAME],count;
for(new v=0; v<MAX_FRAKTIONSCARS; v++)
{
new dingsid[10];
format(dingsid,sizeof(dingsid),"%i",v);
format(Query, sizeof(Query), "SELECT * FROM `fraktionscars` WHERE `vID` > '0'", v);
mysql_query(Query);
mysql_store_result();
count = mysql_num_rows();
mysql_free_result();
}
return count;
}
Wenn nein dann helft mir doch bitte
Danke im vorraus
mfg. Fabi.StaR