problems with /unbanip (SQL Lite)
#1

hello... i've made Admin System with SQL Lite and i made /banip
command works fine but when i try unban ip... unban doesn't work
i tried this way:
pawn Код:
format(Query,sizeof(Query),"UPDATE `BANNEDIPS` WHERE `IP` = '%s' SET IP 'Unbanned'", DB_Escape(ip));
but it doesn't worked...
any help?
Reply
#2

fixed
pawn Код:
format(Query,sizeof(Query),"DELETE FROM `BANNEDIPS` WHERE `IP` = '%s'", DB_Escape(ip));
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)