[FS] BanTemp system (fixed) -
hemen - 27.11.2009
Work:
[FS] BanTemp system
Author:
hemen
With this FS you can ban player temporary (for 3 hours or four 24 hours).
How to work?
In order to ban someone , you should be RCON admin.
Command - /bantemp [playerid] [hours of ban] [reason]
You must create a folder in bantemp scriptfiles, to avoid a server crash
filterscripts.rar is 2nd fix
Re: [FS] BanTemp system -
shady91 - 27.11.2009
a bit like seif's temp ban system not bad.
Re: [FS] BanTemp system -
Oxside - 27.11.2009
nice, its a little bit like siefs one but its always good to have more choices!
Re: [FS] BanTemp system -
RenisiL - 27.11.2009
Nice system
Re: [FS] BanTemp system -
hemen - 27.11.2009
I was not looking code Seif.
Re: [FS] BanTemp system -
Dujma - 27.11.2009
This check
pawn Код:
if(dini_Int(bstring2,"hour") < h && dini_Int(bstring2,"day") < aday && dini_Int(bstring2,"month") < amonth && dini_Int(bstring2,"year") < ayear)
won't work, because your ban date can be for example 31/12/2009 and if the player joins 02/01/2010 it will say that the ban is still active because day and month are not bigger than the ban day and month.
Re: [FS] BanTemp system -
hemen - 27.11.2009
fs fixed
Re: [FS] BanTemp system -
Dujma - 27.11.2009
Few days ago I created temp ban sistem for my GM but I used MySQL functions so it was quite easier to calculate ban expire day. Here is my check if the ban has expired. I didn't have chance for complete test, but it seams working. Maybe it helps you.
pawn Код:
if (!(day >= bday) && (month == bmonth && year == byear) || !(month >= bmonth) && (year == byear) || !(year >= byear) || (day == bday && month == bmonth && year == byear) && !(hour >= bhour) || (day == bday && month == bmonth && year == byear && hour == bhour) && !(minute >= bminute) || (day == bday && month == bmonth && year == byear && hour == bhour && minute == bminute) && !(second >= bsecond))
{
// Player is banned
}
It also has ban minutes and seconds...
EDIT:
b prefix is for ban date and time
Re: [FS] BanTemp system (fixed) -
_Gangster_ - 27.11.2009
nice work.
Re: [FS] BanTemp system (fixed) -
hemen - 01.12.2009
I personally never steal someone else's code. Though I knew that there SeifAdmin, but did not know that there is bantemp system in SeifAdmin
Re: [FS] BanTemp system (fixed) -
kel - 04.12.2009
seif wasnt the first person to think of a temporary ban system people.
Re: [FS] BanTemp system (fixed) -
DJDhan - 05.12.2009
Well there is similarity between many codes...doesn't mean he copied it.He may have written it by himseif (lol) himself and the code was similar to the other codes.There are a few ways to write a perfect code people.
Good JOb!
Re: [FS] BanTemp system (fixed) -
Bates - 25.10.2010
So where can i download it? gosh
Re: [FS] BanTemp system (fixed) -
jonnyboy - 26.10.2010
no download link
?? WOOOOOOOOOOOOOOOOOT
Re: [FS] BanTemp system (fixed) -
Bull_BoY - 29.10.2010
Where r download link..
Re: [FS] BanTemp system (fixed) -
Matej_ - 29.10.2010
nice.
Re: [FS] BanTemp system (fixed) -
WillyP - 29.10.2010
re-upload?
Re: [FS] BanTemp system (fixed) -
Hiddos - 29.10.2010
Gratz on bumping a 10 month old thread!
As for Matej: Sorry to insult you, but somewhere I think you only posted out of either "looking cool" or raising post count lols.
Re: [FS] BanTemp system (fixed) -
$t3ve - 30.10.2010
where is the download link
Re: [FS] BanTemp system (fixed) -
nGen.SoNNy - 30.10.2010
Nice Good One!