3D Label Creator
#1

Hello guys!
Can someone give me a filescript for an administrator rank?

LIKE THIS.


Here is my CMD:aduty...I want the tag turned on when an administrator go On Duty (Saing: >>Administrator On-Duty<<)

I want this tag for Admin Level 2,3,4,1337,1338,99998,99999

Код:
CMD:aduty(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, -1, "** This is an admin only command!");
	if(PlayerInfo[playerid][pAdminDuty] == 0)
	{

		SendClientMessageEx(playerid, COLOR_YELLOW, "{FFFFFF} ** You are now on administrative duty! Remember to check /reports!");
		PlayerInfo[playerid][pAdminDuty] = 1;
		SetPlayerHealth(playerid, 100000);
		SetPlayerArmour(playerid, 100000);
		PlayerInfo[playerid][pChar] = GetPlayerSkin(playerid);
		SetPlayerSkin(playerid, 217);
		PlayerInfo[playerid][pModel] = 217;
		
            if(PlayerInfo[playerid][pAdmin] == 1)
		    {
            	SetPlayerColor(playerid,COLOR_YELLOW);
		    }
			if(PlayerInfo[playerid][pAdmin] == 2)
		    {
            	SetPlayerColor(playerid,COLOR_YELLOW);
		    }
		    if(PlayerInfo[playerid][pAdmin] == 3)
		    {
            	SetPlayerColor(playerid,COLOR_YELLOW);
			}
		    if(PlayerInfo[playerid][pAdmin] == 4)
		    {
            	SetPlayerColor(playerid,COLOR_YELLOW);
			}
		    if(PlayerInfo[playerid][pAdmin] == 1337)
		    {
            	SetPlayerColor(playerid,COLOR_YELLOW);
			}
			if(PlayerInfo[playerid][pAdmin] == 1338)
		    {
            	SetPlayerColor(playerid,COLOR_YELLOW);
			}
			if(PlayerInfo[playerid][pAdmin] == 99998)
		    {
                SetPlayerColor(playerid,COLOR_YELLOW);
			}
			if(PlayerInfo[playerid][pAdmin] == 99999)
		    {
                SetPlayerColor(playerid,COLOR_YELLOW);
			}
			new string[256];
			format(string, sizeof(string), ""OFICIAL_COLOR"*Voltage-Gaming-Roleplay* {FFFFFF}%s {32CD32}Its in admin service {00AFA8}to provide support. (/report for assistance)", GetPlayerNameEx(playerid));
			SendClientMessageToAllEx(COLOR_RED, string);
	}
	else
	{
            new string[256];
	        format(string, sizeof(string), ""OFICIAL_COLOR"*Voltage-Gaming-Roleplay*  {FFFFFF}%s {FF0000}Its no more in admin service {00AFA8}and now its in Role!", GetPlayerNameEx(playerid));
            SendClientMessageToAllEx(COLOR_RED, string);
			SetPlayerColor(playerid, TEAM_HIT_COLOR);
			SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
			SetPlayerHealth(playerid, 100);
			SetPlayerArmour(playerid, 0);
			PlayerInfo[playerid][pAdminDuty] = 0;
	}
    return 1;
}

Post the FileScript on a comment
Thank you
Reply
#2

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Reply
#3

Post here https://sampforum.blast.hk/showthread.php?tid=413556&page=51
Reply
#4

This isn't a link which can help me
Reply
#5

Quote:
Originally Posted by SupermanV
Посмотреть сообщение
This isn't a link which can help me
What do you mean ? Go to this thread and post what you need there. If you understand what SCRIPT REQUEST THREAD is then you'll post there. You asked in the OP that you need something, so NEED = script request.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)