01.07.2014, 19:16
Quote:
gm.pwn(24) : error 035: argument type mismatch (argument 2) gm.pwn(31) : error 035: argument type mismatch (argument 1) gm.pwn(28) : warning 203: symbol is never used: "pass" gm.pwn(28) : warning 203: symbol is never used: "db" gm.pwn(28) : warning 203: symbol is never used: "user" gm.pwn(28) : warning 203: symbol is never used: "host" gm.pwn(28) : warning 203: symbol is never used: "text" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase |
pawn Код:
public OnGameModeInit()
{
DisableInteriorEnterExits();
ManualVehicleEngineAndLights();
connect_mysql(MYSQL_HOST, MYSQL_USER, MYSQL_DB, MYSQL_PASS);
return 1;
}
// LINE 28 stock connect_mysql(text[], host, user, db, pass)
{
mysql_log(LOG_ERROR | LOG_WARNING | LOG_DEBUG);
// LINE 31 Connectline = mysql_connect(host, user, db, pass);
if(mysql_errno(Connectline) != 0)
{
print("MYSQL ERROR: The MySQL Connection could not be established!");
}
return 1;
}