05.09.2016, 22:03
Quote:
So you have to do it like this:
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. |
Code:
stock cache_get_row_int(row, field_idx, connectionHandle = 1) { #pragma unused connectionHandle new retval = cellmin; // so this wrapper function will return cellmin in case of fail cache_get_value_index_int(row, field_idx, retval); return retval; } // and so on for cache_get_row_float, etc