Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define COLOR_AZULBB 0xCCCCFFFF
- #define COLOR_FADE4 0x8C8C8C8C
- #define COLOR_FADE5 0x6E6E6E6E
- #define COLOR_FADE3 0xAAAAAAAA
- #define COLOR_FADE1 0xE6E6E6E6
- #define COLOR_FADE2 0xC8C8C8C8
- if (realchat)
- {
- if(gPlayerLogged[playerid] == 0)
- {
- return 0;
- }
- if (PlayerInfo[playerid][pAdmin] >= 1)
- {
- format(string, sizeof(string), "{FF0000}Admin {FFD700}- {FFFFFF}%s diz: %s", PlayerName(playerid), text);
- ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
- SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
- //ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0);
- }
- else
- {
- if (PlayerInfo[playerid][pAdmin] >= 0)
- format(string, sizeof(string), "{FF0000}Jogador {FFD700}- {FFFFFF}%s diz: %s", PlayerName(playerid), text);
- ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
- SetPlayerChatBubble(playerid, text, COLOR_AZULBB, 20.0, 10000);
- //ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
- }
- return 0;
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment