29.04.2011, 08:07
If you wanted to do it "OnGameModeInit" - why not just hook OnGameModeInit to suit your needs? OR create a stock with no arguments, and just run that in "OnGameModeInit"
eg;
eg;
pawn Код:
//In your include
stock MySQL_Connect()
{
//Connect to sql here
}
//In GM script
public OnGameModeInit()
{
MySQL_Connect();
//rest of gminit
}