Admin buble
#5

Quote:
Originally Posted by Norn
Quote:
Originally Posted by ╚»★«[LvC
Lucifier»★«╝ ]
Here is a good example:


pawn Код:
public OnPlayerText(playerid, text[])
{
  if (AccountInfo[playerid][AdminLevel] >= 5 || IsPlayerAdmin(playerid))
  {
    SetPlayerChatBubble(playerid, "Admin Level 5 (Head Admin)", 0xFF0000FF, 100.0, 10000);
  }
  if (AccountInfo[playerid][AdminLevel] >= 4 || IsPlayerAdmin(playerid))
  {
    SetPlayerChatBubble(playerid, "Admin Level 4", 0xFF0000FF, 100.0, 10000);
  }
  if (AccountInfo[playerid][AdminLevel] >= 3 || IsPlayerAdmin(playerid))
  {
    SetPlayerChatBubble(playerid, "Admin Level 3", 0xFF0000FF, 100.0, 10000);
  }
  if (AccountInfo[playerid][AdminLevel] >= 2 || IsPlayerAdmin(playerid))
  {
    SetPlayerChatBubble(playerid, "Admin Level 2", 0xFF0000FF, 100.0, 10000);
  }
  if (AccountInfo[playerid][AdminLevel] >= 1 || IsPlayerAdmin(playerid))
  {
    SetPlayerChatBubble(playerid, "Admin Level 1", 0xFF0000FF, 100.0, 10000);
  }
  return 1;
}
Thats What i have in my script It Depends on What Admin Script Your Using
Then it's setting the bubble everytime they talk.. Just have it set the bubble when they login, and if promoted/demoted..
Hmm i Guess Your Right, My Mistake
Reply


Messages In This Thread
Admin buble - by maltheus. - 22.01.2010, 23:32
Re: Admin buble - by kmzr - 23.01.2010, 00:02
Re: Admin buble - by TheNotorius - 23.01.2010, 05:51
Re: Admin buble - by Norn - 23.01.2010, 06:06
Re: Admin buble - by TheNotorius - 23.01.2010, 06:08
Re: Admin buble - by maltheus. - 23.01.2010, 10:32
Re: Admin buble - by bluray - 23.01.2010, 12:12
Re: Admin buble - by TheNotorius - 24.01.2010, 01:52

Forum Jump:


Users browsing this thread: 1 Guest(s)