[HELP] /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: [HELP] /ban (
/showthread.php?tid=202046)
[HELP] /ban - Larsey123IsMe - 23.12.2010
How to save the banned name?
like:
/ban
Petter Airbreaking, Bye noob (change petter to the
ID)
...Scriptfiles/banned/Petter.ini - BANNED - Airbreaking,Bye noob
PASTEBIN
Lets say:
Petter(5)
/ban 5
Airbreaking - Then his playername gets saved here: sctiptfiles/banned/Petter.ini
and inside the PLAYERNAME.ini it should say "Banned -
Airbreaking"
Re: [HELP] /ban -
Lorenc_ - 23.12.2010
Its basicly the same as autologin, Just catch the players ip write it to the file, if its reads the player's ip then kick the playerid.
Use a string for your reason.
Re: [HELP] /ban - Larsey123IsMe - 23.12.2010
Quote:
Originally Posted by Lorenc_
Its basicly the same as autologin, Just catch the players ip write it to the file, if its reads the player's ip then kick the playerid.
Use a string for your reason.
|
I have tried to do the same as the login thing, but i failed so i gave up :P
Re: [HELP] /ban -
yvoms - 26.12.2010
BUMP