17.12.2016, 12:40
Quote:
Originally Posted by maddinat0r
cache_get_value is just a comfort function (macro actually). Based on the input parameters you provide, it automatically resolves to cache_get_value_name or cache_get_value_index, e.g.:
Код:
cache_get_value(0, 0, data); // translates to cache_get_value_index cache_get_value(0, "field", data); // translates to cache_get_value_name new idx; cache_get_value(0, idx, data); // translates to cache_get_value_index new field[32] = "field2"; cache_get_value(0, string:field, data); // translates to cache_get_value_name |