23.01.2011, 18:34
I'm converting a vehicle ownership mysql into sqlite. I know everyone would ask me why dont I use mysql. The answer is why I dont need this advanced system, and it's just a simple system. I know some mysql functions, and almost all of sqlite. But I'm having a problem on converting these into sqlite.
And this isn't converting correctly into that:
Returns that:
With this one:
returns
As I saw on wiki and thought, should be like this.
Well, even though that, I'd like to ask also if there's not a mysql system, through a database file, since on sqlite we use: filename.db
pawn Код:
mysql_fetch_field("Locked",data);
pawn Код:
db_get_field(qresult,CarID,data,256);
pawn Код:
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\carsys.pwn(251) : warning 213: tag mismatch
pawn Код:
db_get_field(qresult,"CarID",data,256);
pawn Код:
C:\Documents and Settings\F e L i P e\Desktop\SAMP SERVER 0.3C\filterscripts\carsys.pwn(251) : error 035: argument type mismatch (argument 2)
Well, even though that, I'd like to ask also if there's not a mysql system, through a database file, since on sqlite we use: filename.db