View Single Post
ViRaGisTe
Member
Join Date: Feb 2011
Old 05-11-2011 , 20:36   Re: [STB] Save Temporary Bans
Reply With Quote #23

nice work .. this is a must have !
and if you want the banned player to see the reason or the admin who banned him when he tries to reconnect just modify sqlite_check.sp by enabling the lines for fetching reason and admin then display em :

PHP Code:
decl String:reason[30]
.
SQL_FetchString(query4adminsizeof(admin)); 
SQL_FetchString(query5reasonsizeof(reason)); 
.
.
KickClient(client"Banned %s\n%id %ih %im %is left ( %s )"datedayshrsminssec,reason); 

Last edited by ViRaGisTe; 05-11-2011 at 20:45.
ViRaGisTe is offline