• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [ FIXED ] cache_get_value_int_ovrld after add for on index SQL
#1
FIXED





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



[Image: 113122179-f40fb180-9245-11eb-8125-e2117c09945a.png]
  Reply


Messages In This Thread
[ FIXED ] cache_get_value_int_ovrld after add for on index SQL - by PutuSuhartawan - 2021-03-31, 09:39 AM

Forum Jump: