unban cmd using samp.ban - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: unban cmd using samp.ban (
/showthread.php?tid=251973)
unban cmd using samp.ban -
fissekarl - 29.04.2011
Hello
My admin system is saving all bans in the regular samp.ban file. Now I wanted to add /unban NAME to it, and I have only found unban commands for other, own-made ban files.
Wouldnt it be possible to open the samp.ban, search for a name in it and delete the line?
Re: unban cmd using samp.ban -
Dan_Barocu - 29.04.2011
open the samp.ban in notebook and youle find the name erase it to unban the person
Re: unban cmd using samp.ban -
Markx - 29.04.2011
Quote:
Originally Posted by Dan_Barocu
open the samp.ban in notebook and youle find the name erase it to unban the person
|
Read the post again...
Re: unban cmd using samp.ban -
Swiftz - 29.04.2011
I dont think its possible @Dan lol'd
Re: unban cmd using samp.ban -
fissekarl - 29.04.2011
hm
this was posted by dice7
Open the file, go through it with fread + a loop, search if the string contains that name, get the ip out of the string and SendRconCommand("unban ip")
Cannot?
Re: unban cmd using samp.ban -
Dan_Barocu - 29.04.2011
sorry for wrong dirrections
Re: unban cmd using samp.ban -
MadeMan - 29.04.2011
Quote:
Originally Posted by fissekarl
hm
this was posted by dice7
Open the file, go through it with fread + a loop, search if the string contains that name, get the ip out of the string and SendRconCommand("unban ip")
Cannot?
|
It's possible, but samp.ban is outside scriptfiles folder.
Re: unban cmd using samp.ban -
fissekarl - 29.04.2011
Any way to change it in to the scriptfiles so it puts the samp.ban in scriptfiles when a new ban is made?
EDIT: Congrats 2000 Posts
Re: unban cmd using samp.ban -
fissekarl - 29.04.2011
bump.
Also is there a function like PlaySoundForAll or something?
Re: unban cmd using samp.ban -
fissekarl - 29.04.2011
Oh
What about the SoundForAll question?