/unban 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 using samp.ban? (
/showthread.php?tid=112670)
/unban using samp.ban? -
Striker_Moe - 09.12.2009
Hi there.
My admin system is saving all bans in the regular samp.ban file. Now Iґve 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 using samp.ban? -
TheKingWillem - 09.12.2009
Open RCON Console and type in: unbanip [IP]
Re: /unban using samp.ban? -
Striker_Moe - 09.12.2009
AH cmon, GTFO with your comments, I want a /unban NAME command and not some RCON shit.
Re: /unban using samp.ban? -
dice7 - 09.12.2009
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")
Re: /unban using samp.ban? -
SimPlY - 10.01.2010
pLz /unban SimPlY.......Nush Cne Mio Dat Ban da nAm FAkut NimiK
Re: /unban using samp.ban? -
Correlli - 10.01.2010
Quote:
Originally Posted by SimPlY
|
Don't bump the old topics.
Search.
Write in English language.
Re: /unban using samp.ban? -
jonrb - 10.01.2010
you could call a RCON command: ( get your own way of doing the command =P )
IPStr is the IP you want to unban
Код:
new str[32];
format(str,32,"unbanip %s",IPStr);
SendRconCommand(str);
printf("UNBAN Executed by %i",playerid);