Thanks, that part works well, but now I`m a bit stuck with the mysql part.
I'm trying to use sqlite module, so I enabled it in the modules.ini file. But it seems that my plugin can't find any tables in my database. I'm also using the 'mysql' module for amxbans.
Console output:
[CALLADMIN]: Connected succesfully (localhost,CSuser,CSuser,*mypass*)!
[CALLADMIN]: Table Does not Exists!
Table really exists:
Whole code:
http://pastebin.com/me5f515f
Thanks!