cache_get_value...
#10

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
Just a macro.
Reply


Messages In This Thread
cache_get_value... - by GoldenLion - 16.12.2016, 12:51
Re: cache_get_value... - by DetoNater - 16.12.2016, 13:38
Re: cache_get_value... - by GoldenLion - 16.12.2016, 13:40
Re: cache_get_value... - by Vince - 16.12.2016, 13:44
Re: cache_get_value... - by Konstantinos - 16.12.2016, 13:53
Re: cache_get_value... - by GoldenLion - 16.12.2016, 13:56
Re: cache_get_value... - by Runn3R - 16.12.2016, 20:03
Re: cache_get_value... - by GoldenLion - 16.12.2016, 20:46
Re: cache_get_value... - by Runn3R - 16.12.2016, 20:56
Re: cache_get_value... - by Runn3R - 17.12.2016, 12:40

Forum Jump:


Users browsing this thread: 1 Guest(s)