[HELP] /ban
#1

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"
Reply
#2

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.
Reply
#3

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
Reply
#4

BUMP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)