How long time we were searching for solution?
Lets have some guide and use it to f**k officials by doggie style=)
Everything we must have - one function, one program and one brain to find it useful.
UPDATED! Changed a working schema to keep a good performance.
There is some files in the pack below:
Lua script for such a function sql_query.
VB Source code for Console SQL Querier (CSQLQ.exe)
Folder with all files to put into GS folder
How to use: put all files into GS folder, restart a server and start CSQLQ.exe
then use sql_query function from anywhere using LUA.
To see a progress, look at CSQLQ console.
If you wanna get logfile - change a code
Finally, we have a solution to run SQL query from any place in LUA script.
P.S. command doesnt work with SELECT operator to return values. It can be used for example, with UPDATE, DELETE or INSERT. But you can edit a program and LUA script to do it.
P.P.S. dont push me with my damn VB script lol its just a main idea how to run queries secure and easy, not more=) If you can make it better - make it better!
Lets have some guide and use it to f**k officials by doggie style=)
Everything we must have - one function, one program and one brain to find it useful.
UPDATED! Changed a working schema to keep a good performance.
There is some files in the pack below:
Lua script for such a function sql_query.
VB Source code for Console SQL Querier (CSQLQ.exe)
Folder with all files to put into GS folder
How to use: put all files into GS folder, restart a server and start CSQLQ.exe
then use sql_query function from anywhere using LUA.
To see a progress, look at CSQLQ console.
If you wanna get logfile - change a code
Finally, we have a solution to run SQL query from any place in LUA script.
P.S. command doesnt work with SELECT operator to return values. It can be used for example, with UPDATE, DELETE or INSERT. But you can edit a program and LUA script to do it.
P.P.S. dont push me with my damn VB script lol its just a main idea how to run queries secure and easy, not more=) If you can make it better - make it better!