04.03.2017, 17:04
Quote:
Second parameter for cache_get_value_int function is field name, and third parameter is for reference variable.
Example: Код:
cache_get_value_int(i, "field_name", weaponid); cache_get_value_int(i, "field_name", ammo); Example: Код:
cache_get_value_index_int(i, 0, weaponid); cache_get_value_index_int(i, 1, ammo); |
Код:
for(new i, j = cache_get_row_count(g_SQL); i < j; i++)