Quote:
Originally Posted by quark
Thats so unnecessary. Why dont u use the 'traditional way', load on player connect, save no user disconnect?
|
Load what? O.o Save what? I am saving kills in SQLx after some interval.
EDIT: There is another problem now.
Code:
if(SQL_NumResults(Query) == 1){
flags = SQL_ReadResult(Query, 2);
client_print(0, print_chat, "%s flag", flags);
}
Database structure:
http://i.minus.com/ibpeuIuxaT1jGf.png
In database, second field is flag. It has p flag stored for me. But when I print it, it prints nothing but blank space. Any help?
__________________