ViictorDaay-

Untitled

May 7th, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.22 KB | None | 0 0
  1. #define COLOR_AZULBB             0xCCCCFFFF
  2. #define COLOR_FADE4              0x8C8C8C8C
  3. #define COLOR_FADE5              0x6E6E6E6E
  4. #define COLOR_FADE3              0xAAAAAAAA
  5. #define COLOR_FADE1              0xE6E6E6E6
  6. #define COLOR_FADE2              0xC8C8C8C8
  7.     if (realchat)
  8.     {
  9.         if(gPlayerLogged[playerid] == 0)
  10.         {
  11.             return 0;
  12.                 }
  13.             if (PlayerInfo[playerid][pAdmin] >= 1)
  14.         {
  15.             format(string, sizeof(string), "{FF0000}Admin {FFD700}- {FFFFFF}%s diz: %s",                 PlayerName(playerid), text);
  16.             ProxDetector(20.0, playerid,   string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
  17.             SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
  18.             //ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
  19.         }
  20.         else
  21.         {
  22.             if (PlayerInfo[playerid][pAdmin] >= 0)
  23.             format(string, sizeof(string), "{FF0000}Jogador {FFD700}- {FFFFFF}%s diz: %s", PlayerName(playerid), text);
  24.             ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
  25.             SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
  26.             //ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
  27.         }
  28.         return 0;
  29.     }
  30.     return true;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment