30.04.2013, 10:59
Hello,
I created a verification script for a ban system, but it's not working !
Here, the request was executed and there is no problem then :
CMySQLHandler::Query(SELECT * FROM membres_bans WHERE membreBanID = 3 AND timeBanFin < 1367230629 AND timeBanFin > 0) - Successfully executed.
But from this point that's not working :
http://pastebin.com/ku33KdYW
And I'm not finding this request in the Debug.txt !
Can you help me?
Thank you.
I created a verification script for a ban system, but it's not working !
Код:
format(string, sizeof(string), "SELECT * FROM membres_bans WHERE membreBanID = %d AND timeBanFin < %d AND timeBanFin > 0", Joueur[playerid][pIdSQL], gettime()); mysql_query(string);
CMySQLHandler::Query(SELECT * FROM membres_bans WHERE membreBanID = 3 AND timeBanFin < 1367230629 AND timeBanFin > 0) - Successfully executed.
But from this point that's not working :
http://pastebin.com/ku33KdYW
And I'm not finding this request in the Debug.txt !
Can you help me?
Thank you.