24.05.2016, 14:08
The first parameter is the rowid. It is 0 because there is only 1 row in the table with the player's name.
If for example you have selected all the data from a table without a WHERE clause in the query, you'd have to use a loop and use the variable for the rowid:
If for example you have selected all the data from a table without a WHERE clause in the query, you'd have to use a loop and use the variable for the rowid:
pawn Код:
for (new i, j = cache_get_row_count(); i != j; i++)
{
... = cache_get_field_content_int(i, "...");
}