Getting data from SQL query?
I'm trying to make a ranking system on my server using a MySQL DB.
The problem is that steamId and rankPoints aren't accessible outside the SQL Query.
In the case below, Puts("") return the right value. If I move these Puts("") at the level of the return, it returns 0.

Can you help me to understand how works SQL Query in Oxide? 

The website block me from copy/paste the code here because it think I'm using Query to attack it so I had to use Paste in xD
https://pastebin.com/UXrzCeVp

I believe you'd need to handle it in a callback, as I think the query would happen in the background and not in the same thread as the rest of the plugin.