23.01.2014, 18:38
Fixed it by using the connection ID with an SQL tag rather than a variable.
pawn Код:
sql_connect(...); // connects with SQL ID 1
sql_query(SQL:1, ...);

