SA-MP Forums Archive
[FilterScript] WhoIsAdmin v1.6 - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] WhoIsAdmin v1.6 (/showthread.php?tid=424893)



WhoIsAdmin v1.6 - sheders - 24.03.2013

WhoIsAdmin v1.6




Introduction
Hello all i will now release my new v1.6 of WhoIsAdmin. In v1.6 i have added 2 st new things kick and ban for admins , you will not need to be rcon if you have admin ranks. This filterscript will help admins ingame and protect the server. You can even see who admin who are online by tying /admins. I still working on it and it's not done yet. And i know it's maybe very simple but i working hard for this.


Quote:

Info about the added scripts:

1.The rules system i added in v1.4 make so when a player join they need to accept the rules or be kicked. They need to accept the rules every time they join , so if you change the rules
they will see it next time they join.


2. /Admin script i added in v1.2 work like this , when a player type /admins they will see who admins some are online


3. /credits script i added in v.1.2 just show the credits of the script. ''Don't remove the credits''


4./kick /ban script i added in v1.6 some help admins to ban and kick players who don't follow the rules

Quote:

ChangeLog
NEW v1.6: /kick ''for admins, you can not kick your self or other admins only normal players''
NEW v1.6: /ban ''for admins, you can not ban your self or other admins only normal players''





Bugs

I haven't found any bugs yet , but if you found please report it here.




Commands: /kick , /ban , /admins , /credits




Video: coming tomorrow




Download: http://www.4shared.com/rar/-nJwk9/WhoIsadmin_v16.html


PasteBin: http://pastebin.com/eAsqNXgh


Please leave a comment



credits: sheders(scripting) fezhj(BetaTester) AnkEpple(BetaTester) please don't remove credits


Re: WhoIsAdmin v1.6 - Yves - 24.03.2013

hmmm nice work mate 10/10


Re: WhoIsAdmin v1.6 - [ABK]Antonio - 24.03.2013

Quote:
Originally Posted by sheders
Посмотреть сообщение
Hello all i will now release my new v1.6 of WhoIsAdmin. In v1.6 i have added 2 st new things kick and ban for admins , you will not need to be rcon if you have admin ranks. This filterscript will help admins ingame and protect the server. You can even see who admin who are online by tying /admins. I still working on it and it's not done yet. And i know it's maybe very simple but i working hard for this.
You know that there's only RCON admin in the FS right?


Re: WhoIsAdmin v1.6 - RoW001 - 24.03.2013

You included foreach for ?
Код:
CMD:admins(playerid,params[])
{
   for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        if(IsPlayerAdmin(i))
        {
            new string[27];
            new id[MAX_PLAYER_NAME];
            GetPlayerName(i, id, sizeof(id));
            format(string, sizeof(string), "Admins online: %s", id);
            SendClientMessage(playerid, 0x800080AA , string);
          }
    }
}
   return 1;
}



Re: WhoIsAdmin v1.6 - sheders - 24.03.2013

Quote:
Originally Posted by Yves
Посмотреть сообщение
hmmm nice work mate 10/10
Thanks man


Re: WhoIsAdmin v1.6 - sheders - 24.03.2013

Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
You know that there's only RCON admin in the FS right?
I will fix rank system some work with it


Re: WhoIsAdmin v1.6 - sheders - 24.03.2013

Quote:
Originally Posted by RoW001
Посмотреть сообщение
You included foreach for ?
Код:
CMD:admins(playerid,params[])
{
   for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        if(IsPlayerAdmin(i))
        {
            new string[27];
            new id[MAX_PLAYER_NAME];
            GetPlayerName(i, id, sizeof(id));
            format(string, sizeof(string), "Admins online: %s", id);
            SendClientMessage(playerid, 0x800080AA , string);
          }
    }
}
   return 1;
}
No sorry man,,,forech should not be there. But i have add some includes and defines becuase i will need it later