Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] [ FIXED ] cache_get_value_int_ovrld after add for ++ on index SQL

 
  • 0 Vote(s) - 0 Average
Pawn [ FIXED ] cache_get_value_int_ovrld after add for ++ on index SQL
PutuSuhartawan
Offline

Burgershot Member
Posts: 120
Threads: 52
Joined: Nov 2020
Reputation: 1
Location: Indonesia
#1
2021-03-31, 09:39 AM (This post was last modified: 2021-04-01, 01:51 AM by PutuSuhartawan.)
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/wiki#cache_get_value_name_int

[Image: 113122179-f40fb180-9245-11eb-8125-e2117c09945a.png]
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode