[FilterScript] iAdmin & iRegister system by iPrivate
#1

iAdmin & iRegister system by iPrivate
I'm sure there are a couple of admin filterscripts around but I though "Why shall I not release one too?". This ain't really special and it uses some of the admin commands I had added in my gamemode. Except that, there are made some differences which are:

Differences:

- Level 5 administrator has been removed
- /setlevel has been changed for level 4
- /kickall has been added for level 3
- /givecar has been added for level 2
- /ban has been added for level 2
- /slap has been added for level 1
- /skin has been added for level 1
- /acmds will ONLY shown the commands of your level and the old ones.

More commands are being to be added soon!

Commands (full list)
pawn Код:
COMMAND:acmds(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid, COLOR_RED,"Error: You have to be admin or you are not high level enoguh in order to use this command!");
    else if(PlayerInfo[playerid][pAdmin] == 1) return SendClientMessage(playerid, COLOR_RED, "Level 1: /kick - /armour - /health - /camera - /freeze - /unfreeze - /skin - /slap");
    else if(PlayerInfo[playerid][pAdmin] == 2)
    {
        SendClientMessage(playerid, COLOR_RED, "Level 1: /kick - /armour - /health - /camera - /freeze - /unfreeze - /skin - /slap");
        SendClientMessage(playerid, COLOR_RED, "Level 2: /get - /goto - /ban - /announce - /givecar");
    }
    else if(PlayerInfo[playerid][pAdmin] == 3)
    {
        SendClientMessage(playerid, COLOR_RED, "Level 1: /kick - /armour - /health - /camera - /freeze - /unfreeze - /skin - /slap");
        SendClientMessage(playerid, COLOR_RED, "Level 2: /get - /goto - /ban - /announce - /givecar");
        SendClientMessage(playerid, COLOR_RED, "Level 3: /givegun - /kickall - /resetguns");
    }
    else if(PlayerInfo[playerid][pAdmin] == 4)
    {
        SendClientMessage(playerid, COLOR_RED, "Level 1: /kick - /armour - /health - /camera - /freeze - /unfreeze - /skin - /slap");
        SendClientMessage(playerid, COLOR_RED, "Level 2: /get - /goto - /ban - /announce - /givecar");
        SendClientMessage(playerid, COLOR_RED, "Level 3: /givegun - /kickall - /resetguns");
        SendClientMessage(playerid, COLOR_RED, "Level 4: /setlevel");
    }
    return 1;
}
Downloads

Download using PasteBin
- We are offering only PasteBin for now.

How to get it working

- Open the pastebin link that's under "Downloads" section.
- Open a new .pwn file with Pawno application.
- Copy everything from the PasteBin link and paste it on the Pawno new file.
- Compile and save it under your 'filterscripts' folder.
- Open your scriptfiles folder.
- Create a new folder named 'Users'
- Open your server.cfg file and write the filterscript name in the 'filterscripts' line.
- Start your server and join the game.
- Register a new account.
- Close the game and go to Scriptfiles - Users - Your account.
- Open it and edit the 'Admin' line. Put it 4.
- Enjoy being administrator.

Credits

- Special thanks to ****** for the Y_INI include. (Required in saving accounts)
- Special thanks to Zeex for his zCMD include. (Command processor)
- And everyone else who contributed in the creation of this filterscript.
Reply


Messages In This Thread
iAdmin & iRegister system by iPrivate - by iPrivate - 16.12.2013, 19:56
Re: iAdmin & iRegister system by iPrivate - by Gen3i - 16.12.2013, 20:24
Re: iAdmin & iRegister system by iPrivate - by PT - 16.12.2013, 22:11
Re: iAdmin & iRegister system by iPrivate - by Team_PRO - 17.12.2013, 07:08
Re: iAdmin & iRegister system by iPrivate - by iPrivate - 17.12.2013, 15:42
Re: iAdmin & iRegister system by iPrivate - by Patrick - 17.12.2013, 15:48
Re: iAdmin & iRegister system by iPrivate - by juank - 17.12.2013, 15:59
Re: iAdmin & iRegister system by iPrivate - by PT - 17.12.2013, 17:19
Re: iAdmin & iRegister system by iPrivate - by DeathFire - 17.12.2013, 19:44
Re: iAdmin & iRegister system by iPrivate - by iPrivate - 19.12.2013, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)