23.03.2016, 12:10
y si lo haces asi?
PHP код:
mysql_query(MS_CONNECT, "SELECT ID FROM jugadores");
new rows, fields, vrID = 1;
cache_get_data(rows, fields);
new idNums;
for(new i = 1; i < rows; i++)
{
idNums = cache_get_field_int(i, "ID");
if(idNums == vrID)
{
vrID ++;
}
else
{
vrID = idNums;
break;
}
}