Sreach Admin Script
#1

pleas i sreach filterscript admins online dialog....
with :

admin lvl 1 = helper
admin lvl 2 = helper
admin lvl 3 = eventer
admin lvl 4 = High Admin
admin lvl 5 = Leader Server
Reply
#2

****** it, we're not your slaves.
Reply
#3

There's a filterscript section for filterscripts.. Search through that one and you'll find something.
Reply
#4

Quote:
Originally Posted by itachi
Посмотреть сообщение
pleas i sreach filterscript admins online dialog....
with :

admin lvl 1 = helper
admin lvl 2 = helper
admin lvl 3 = eventer
admin lvl 4 = High Admin
admin lvl 5 = Leader Server
you mean like this??


you must add
Код:
"ShowPlayerDialog(playerid,123,DIALOG_STYLE_MSGBOX,""COL_RED"Staff Of United War Z Gaming",dialog,"OK","");
here full code :
Код:
dcmd_admins(playerid,params[])
{
    #pragma unused params
        	new count = 0;
     	    new string[128];
	        new dialog[500];
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
		 		if (IsPlayerConnected(i))
	 			{
					if(AccInfo[i][Level] >= 1 && AccInfo[i][Hide] == 0)
	 				{
						if(AccInfo[i][Level] > 5)
						{
							AdmRank = "Professional Admin";
						}
	 					if(IsPlayerAdmin(i))
					  	{
					  		AdmRank = "RCON Administrator";
					  	}
					    else
					    {
					 		switch(AccInfo[i][Level])
							{
								case 1: {
								AdmRank = "Basic Moderator";
								}
								case 2: {
								AdmRank = "Moderator";
								}
								case 3: {
								AdmRank = "Master Moderator";
								}
								case 4: {
								AdmRank = "Administrator";
								}
								case 5: {
								AdmRank = "Master Administrator";
								}
							}
						}
			 			switch(AccInfo[i][OnDuty])
						{
							case 0: AdmDuty = "Playing!";
							case 1: AdmDuty = "On Duty!";
						}
						format(string, 128, "%s (Id: %i) | Level: %d(%s, %s)\n",PlayerName2(i),i,AccInfo[i][Level],AdmRank,AdmDuty);
						strcat(dialog,string);
						count++;
					}
				}
			}
			if (count == 0)
			ShowPlayerDialog(playerid,123,DIALOG_STYLE_MSGBOX,""COL_RED"Staff Of United War Z Gaming","No admin online yet.","OK","");
			else ShowPlayerDialog(playerid,123,DIALOG_STYLE_MSGBOX,""COL_RED"Staff Of United War Z Gaming",dialog,"OK","");
			return 1;
	}
Reply
#5

Quote:
Originally Posted by fahlevy
Посмотреть сообщение
you mean like this??


you must add
Код:
"ShowPlayerDialog(playerid,123,DIALOG_STYLE_MSGBOX,""COL_RED"Staff Of United War Z Gaming",dialog,"OK","");
here full code :
Код:
dcmd_admins(playerid,params[])
{
    #pragma unused params
        	new count = 0;
     	    new string[128];
	        new dialog[500];
			for(new i = 0; i < MAX_PLAYERS; i++)
			{
		 		if (IsPlayerConnected(i))
	 			{
					if(AccInfo[i][Level] >= 1 && AccInfo[i][Hide] == 0)
	 				{
						if(AccInfo[i][Level] > 5)
						{
							AdmRank = "Professional Admin";
						}
	 					if(IsPlayerAdmin(i))
					  	{
					  		AdmRank = "RCON Administrator";
					  	}
					    else
					    {
					 		switch(AccInfo[i][Level])
							{
								case 1: {
								AdmRank = "Basic Moderator";
								}
								case 2: {
								AdmRank = "Moderator";
								}
								case 3: {
								AdmRank = "Master Moderator";
								}
								case 4: {
								AdmRank = "Administrator";
								}
								case 5: {
								AdmRank = "Master Administrator";
								}
							}
						}
			 			switch(AccInfo[i][OnDuty])
						{
							case 0: AdmDuty = "Playing!";
							case 1: AdmDuty = "On Duty!";
						}
						format(string, 128, "%s (Id: %i) | Level: %d(%s, %s)\n",PlayerName2(i),i,AccInfo[i][Level],AdmRank,AdmDuty);
						strcat(dialog,string);
						count++;
					}
				}
			}
			if (count == 0)
			ShowPlayerDialog(playerid,123,DIALOG_STYLE_MSGBOX,""COL_RED"Staff Of United War Z Gaming","No admin online yet.","OK","");
			else ShowPlayerDialog(playerid,123,DIALOG_STYLE_MSGBOX,""COL_RED"Staff Of United War Z Gaming",dialog,"OK","");
			return 1;
	}


OT: download LuxAdmin and open LuxAdmin.pwn and scroll down you will find the ranks name, edit them and complite and load the filterscript.
Reply
#6

The product of NGG, Ranks such as "Helper" who don't actually know anything, and "Eventer"s where events aren't planned out and are done spur of the moment to save their ass.


You're asking in Scripting Help to get something you can actually make.

If you need to ask someone to script for you, hit that "Hiring Scripters" thread...

If you can't script, Learn.

Quote:
Originally Posted by MohanedZzZ
Посмотреть сообщение
Wonder what Start+C does...
Reply
#7

http://lmgtfy.com/?q=SA%3AMP+Admin+System+Filterscript
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)