31.03.2013, 01:19
pawn Код:
SA-MP Dedicated Server
----------------------
v0.3x, (C)2005-2013 SA-MP Team
[20:38:56] filterscripts = "" (string)
[20:38:56]
[20:38:56] Server Plugins
[20:38:56] --------------
[20:38:56] Loading plugin: mysql
[20:38:56] SA:MP MySQL Plugin v2.1.1 Loaded.
[20:38:56] Loaded.
[20:38:56] Loaded 1 plugins.
[20:38:56] [MySQL] Thread running. Threadsafe: Yes.
[20:38:56]
[20:38:56] Filterscripts
[20:38:56] ---------------
[20:38:56] Loaded 0 filterscripts.
[20:38:56] [MySQL] Error (0): Function: mysql_connect failed, mysql was not initialized on this handle.
[20:38:56]
pawn Код:
public OnGameModeInit()
{
mysql_connect(HOST_ADDR, HOST_USER, HOST_PASS, HOST_DATA);
SetGameModeText(verison);
SendRconCommand(name);
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}