2021-03-31, 09:39 AM
(This post was last modified: 2021-04-01, 01:51 AM by PutuSuhartawan.)
FIXED
https://github.com/pBlueG/SA-MP-MySQL/wi...e_name_int
Quote:Retrieves a value from the result set as a decimal number.
Parameters:
Code:(row_idx, const column_name[], &destination)
row_idx The row index (starts at '0').
const column_name[] The column name.
&destination The variable to store the number into.
Return Values:
1 on success, 0 on failure.
Code:
new int_dest;
cache_get_value_name_int(2, "money", int_dest);
printf("The value in the third row and in the column 'money' is '%d'.", int_dest);
https://github.com/pBlueG/SA-MP-MySQL/wi...e_name_int