Raised This Month: $ Target: $400
 0% 

sqlite in sqlx...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
CodeStepper
Member
Join Date: Jun 2013
Location: Polska
Old 07-12-2013 , 03:59   Re: sqlite in sqlx...
Reply With Quote #2

Ok... i solve the problem. I write it... maybe it will be usefull for other people...

In one word... DAFUQ is this!
In sqlx.inc ( cstrike/addons/amxmodx/scripting/include ), this lines load a mysql_amxx library, not sqlite_amxx
PHP Code:
#if AMXX_VERSION_NUM >= 175
 #pragma reqclass sqlx
 #if !defined AMXMODX_NOAUTOLOAD
  #pragma defclasslib sqlx mysql
 #endif //!defined AMXMODX_NOAUTOLOAD
#endif //AMXX_VERSION_NUM 
Just change it on this:

PHP Code:
#if AMXX_VERSION_NUM >= 175
 #pragma reqclass sqlx
 #if !defined AMXMODX_NOAUTOLOAD
  #pragma defclasslib sqlx sqlite
 #endif //!defined AMXMODX_NOAUTOLOAD
#endif //AMXX_VERSION_NUM 
And it will be working... I have no idea for what is SQL_SetAffinity, but this function doesn't work!!

Last edited by CodeStepper; 07-12-2013 at 04:00.
CodeStepper is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode