11.05.2015, 10:41
What are you even trying?
cache_get_field_content_int if you do not know the field number you can use the field name.
Both the functions are the same but this one accepts a field name where as the one you mentioned accepts the field index.
[code]new int_dest = cache_get_row_int(3, 0);
printf("The number stored in the fourth row and first field is '%d'.", int_dest);
cache_get_field_content_int if you do not know the field number you can use the field name.
Both the functions are the same but this one accepts a field name where as the one you mentioned accepts the field index.
Код:
new int_dest = cache_get_field_content_int(2, "money"); printf("The value in the third row and in the field 'money' is '%d'.", int_dest);
printf("The number stored in the fourth row and first field is '%d'.", int_dest);