05.09.2016, 18:20
Quote:
When I replace cache_get_row_int with cache_get_value_index_int, I get warning that number of parameters doesn't match definition.
Here's my code Code:
_dan = cache_get_row_int(0, 0) + 1; Code:
_dan = cache_get_value_index_int(0, 0) + 1; |
Quote:
all cache_get_ functions now return their value through a reference parameter instead of returning it directly |
Code:
cache_get_value_index_int(0, 0, _dan); _dan += 1;
One important downside: we have to transform all our lines using SetGVar* or SetPVar* to use a temporary variable, which I don't like to.