SA-MP Forums Archive
New Rank - 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)
+--- Thread: New Rank (/showthread.php?tid=375003)



New Rank - yLuSsSIoN - 04.09.2012

Hi , anyone knows a tutorial or explain me step by step how to do a new admin rank ( Scripter in my case )
I really want someone to help me
+rep


Re: New Rank - JustinAn - 05.09.2012

Post it in here.

And what do you mean 'new admin rank'.


Re: New Rank - yLuSsSIoN - 05.09.2012

I refer to a new rang , like Admin 1,2,3,4,1337,1338 this is what i got on my server and i wanna ad 1339 named Scripter.


Re: New Rank - Socan - 05.09.2012

Can easily be done, I acctually did this for the server I script for so that im scripter rank. Level 55555


Re: New Rank - yLuSsSIoN - 05.09.2012

I dont asked if you did your new rank easy , i just wanna know.


Re: New Rank - RanSEE - 05.09.2012

pawn Код:
CMD:admins( playerid, params[ ] )
{
    new count, bool:online, string[128], AdminRank[70], name[24];
    for(new i,g=GetMaxPlayers(); i < g; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(1 <= pAdminLevel[i]/*Change this var to yours*/ <= 99999)
            {


                    online = true;
                    switch(pAdminLevel[i]) /* << Change this var to yours*/
                    {
                        case 1: AdminRank = "Moderator";
                        case 2: AdminRank = "Junior Admin";
                        case 3: AdminRank = "General Admin";
                        case 4: AdminRank = "Senior Admin";
                        case 1337: AdminRank = "Head Admin";
                        case 1339: AdminRank = "Scripter";
                        case 13399: AdminRank = "Head Scripter";                      

                    }
                    GetPlayerName(i, name, sizeof(name));
                    format(string,sizeof(string), "%s %s [%s],",string, name, AdminRank);
                    count++;
                    if(count == 4)
                    {
                        format(string,sizeof(string),"Admins: %s",string);
                        SendClientMessage(playerid, -1, string);
                        string = "";
                        count = 0;
                    }

            }
        }
    }
    if(count)
    {
        format(string,sizeof(string),"Admins: %s",string);
        SendClientMessage(playerid, -1, string);
    }
    if(!online) SendClientMessage(playerid, -1,"No Admin online in the list.");
    return 1;
}
This ?


Re: New Rank - yLuSsSIoN - 05.09.2012

I solved it , anyway thx for your help..