View Single Post
Old 18/12/2016, 04:29 PM   #6041
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,831
Reputation: 1401
Default Re: [REL] MySQL Plugin (Now on github!)

Quote:
Originally Posted by Max_Andolini View Post
How to return MySQL handle
pawn Code:
stock MySQL: SQL::Connect(...)
{
    // code..
    return Connection;
}

Add at the top:
pawn Code:
forward MySQL: SQL::Connect(...);
to avoid warning 208: function with tag result used before definition, forcing reparse.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote