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!!