Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //No Inicio do GM Adicione
- forward TextChatBubble();
- em OnGameModeInit adicione um Timer
- public OnGameModeInit()
- {
- SetTimer("TextChatBubble" 1000, true);
- return 1;
- }
- public TextChatBubble()
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(PlayerInfo[i][pAdmin] == 1342)//Level do Administrador
- {
- SetPlayerChatBubble(i,"Administrador", COLOR_RED,100.0, 1000);
- }
- if(PlayerInfo[i][pVIP] > 0)//Level do VIP
- {
- SetPlayerChatBubble(i,"VIP", COLOR_RED,100.0, 1000);
- }
- if(PlayerInfo[i][pHelper] > 0)//Level do Helper
- {
- SetPlayerChatBubble(i,"Helper", COLOR_RED,100.0, 1000);
- }
- }
- }
- //COLOR_RED = A Cor em que o Texto irá aparecer
- //100.0 = A Distancia em que você verá o texto
- //10000 = Tempo em que o Texto irá ficar na Cabeça em Milissegundos
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement