01.07.2015, 18:29
Okay just converted still not working :/
debug
code
debug
pawn Код:
[23:27:32] UPDATE bans SET banby='Sasuke_Uchiha',bannick='Sasuke_Uchiha',banip='127.0.0.1',banon=UNIX_TIMESTAMP(),banexpire=UNIX_TIMESTAMP()+432000,banned=1,banperma=0,bandate=NOW() WHERE banid=7 LIMIT 1
pawn Код:
mysql_format(g_SQL, string, sizeof(string), "UPDATE bans SET banby='%e',bannick='%e',banip='%e',banon=UNIX_TIMESTAMP(),banexpire=UNIX_TIMESTAMP()+%d,banned=%d,banperma=%d,bandate=NOW() WHERE banid=%d LIMIT 1",BanInfo[ServerInfo[sCurrentBanID]][BanBy],BanInfo[ServerInfo[sCurrentBanID]][BanNick],BanInfo[ServerInfo[sCurrentBanID]][BanIP],BanInfo[ServerInfo[sCurrentBanID]][BanExpire],BanInfo[ServerInfo[sCurrentBanID]][Banned],BanInfo[ServerInfo[sCurrentBanID]][BanPerma],ServerInfo[sCurrentBanID]);
print(string);