[POMOC]SetPlayerChatBubble

Započeo anderson87, Februar 07, 2016, 20:02:20 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Scripta koju koristim:Edit UP  :P
Opis problema:Na UP-ovom modu nema kad si admin da ti iznad glave pise admin i ako si level 1 da ti pise novajlija il slicno i to sam ja uradio kada neko prvi put udje na srw do levela 2/3 da mu pise novajlija ali to isto pise i adminima pogledajte kodove i molim vas ako mozete sto prije da mi to sredite  ::)
[pawn]forward ChatDouble();
public ChatDouble()
{
   foreach(Player,i)
   {
      if(PlayerInfo[pAdmin] == 1)
      {
         SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pAdmin] == 2)
      {
         SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pAdmin] == 6)
      {
         SetPlayerChatBubble(i, ""BELA"[ OWNER]", -1, 30.0,5000);
      }
      if(PlayerInfo[pAdmin] == 3)
      {
         SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pGM] == 1)
      {
         SetPlayerChatBubble(i, ""BELA"[ HELPER ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pGM] == 2)
      {
         SetPlayerChatBubble(i, ""BELA"[ HELPER ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pGM] == 3)
      {
         SetPlayerChatBubble(i, ""BELA"[ VODJA HELPERA ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pAdmin] == 5)
      {
         SetPlayerChatBubble(i, ""BELA"[ DIREKTOR ]", -1, 30.0,5000);
      }
      if(PlayerInfo[pAdmin] == 4)
      {
         SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
      }
      else if(PlayerInfo[pLevel] == 1)
      {
         SetPlayerChatBubble(i, ""BELA"[ NOVAJLIJA ]", -1, 30.0,5000);
      }
      else if(PlayerInfo[pOrgUgovor] == 1)
      {
         SetPlayerChatBubble(i, ""BELA"[ KAZNJEN ]", -1, 30.0,5000);
      }
   }
   return 1;
}[/pawn]

[pawn]SetTimer("ChatDouble",3000,1);[/pawn]
I da ovo sam ja ubacivao iz raznih modova kao sto su BE,UE,SM,BG ali opet nece!
• G A M E M O D E •
• F I L T E R S C R I P T •
• T U T O R I A L •


Citat
You are what you believe yoursefl to be.

Probaj sad.
[pawn]forward ChatDouble();
public ChatDouble()
{
foreach(Player,i)
{
if(PlayerInfo[pAdmin] == 1)
{
SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
}
else if(PlayerInfo[pAdmin] == 2)
{
SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
}
else if(PlayerInfo[pAdmin] == 6)
{
SetPlayerChatBubble(i, ""BELA"[ OWNER]", -1, 30.0,5000);
}
else if(PlayerInfo[pAdmin] == 3)
{
SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
}
else if(PlayerInfo[pGM] == 1)
{
SetPlayerChatBubble(i, ""BELA"[ HELPER ]", -1, 30.0,5000);
}
elseif(PlayerInfo[pGM] == 2)
{
SetPlayerChatBubble(i, ""BELA"[ HELPER ]", -1, 30.0,5000);
}
else if(PlayerInfo[pGM] == 3)
{
SetPlayerChatBubble(i, ""BELA"[ VODJA HELPERA ]", -1, 30.0,5000);
}
else if(PlayerInfo[pAdmin] == 5)
{
SetPlayerChatBubble(i, ""BELA"[ DIREKTOR ]", -1, 30.0,5000);
}
else if(PlayerInfo[pAdmin] == 4)
{
SetPlayerChatBubble(i, ""BELA"[ ADMIN ]", -1, 30.0,5000);
}
else if(PlayerInfo[pLevel] == 1)
{
SetPlayerChatBubble(i, ""BELA"[ NOVAJLIJA ]", -1, 30.0,5000);
}
else if(PlayerInfo[pOrgUgovor] == 1)
{
SetPlayerChatBubble(i, ""BELA"[ KAZNJEN ]", -1, 30.0,5000);
}
}
return 1;
}[/pawn]