Hallo & guten Abend!
Ich habe ein kleines Problem mit SQLite, undzwar bekomme ich immer diesen Fehler:
Code
C:\Users\The Darkmen\Desktop\San Andreas Multiplayer\SAMP 0.3e\gamemodes\rl.pwn(899) : error 017: undefined symbol "mysql_fetch_int"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Code:
stock mysql_GetInt(Table[], Field[], Where[], Is[])
{
new query[128];
mysql_real_escape_string(Table, Table);
mysql_real_escape_string(Field, Field);
mysql_real_escape_string(Where, Where);
mysql_real_escape_string(Is, Is);
format(query, 128, "SELECT `%s` FROM `%s` WHERE `%s` = '%s'", Field, Table, Where, Is);
db_query(Database, query);
mysql_store_result();
new sqlint = mysql_fetch_int();
mysql_free_result();
return sqlint;
}