Posts: 234
Threads: 24
Joined: Mar 2010
Reputation:
0
How can I make a simple /ban command without logging into /rcon and just being a normal admin like a level 1 admin?
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
Learn how to script in PAWN or search for an existing /ban command.
Posts: 234
Threads: 24
Joined: Mar 2010
Reputation:
0
I tryed using other /ban commands. They don't work, obviously.
Posts: 607
Threads: 41
Joined: Apr 2009
1. You'll need an Administrator FS. If you don't have that get one. (Because i guess you have no admin scripted in..)
2. I guess in all administrator FS's you get an /ban cmd...
You can use search for some good FS's
Posts: 6,129
Threads: 36
Joined: Jan 2009
This may sound complex, for you being new and all.
Create an array (which will store the player's admin level), save it upon login/logoff (you should create some kind of password protector for this) and load it upon login and unload it upon logoff.
Then, for your ban command it's simple. You'll be able to use a simple 1 line if statement to detect their admin level, for example:
pawn Код:
if( AdminLevel[playerid] == 69 )
Then you just have to execute the Ban() function.
Posts: 234
Threads: 24
Joined: Mar 2010
Reputation:
0
I don't want to use an admin filterscript.