[Ajuda] Alguem da uma forзa
#1

Rapaziada tentei fazer esse comando mas nгo consegui int resolvi pedir a vocкs mais experiente tipo o comando e assim se eu sou setado de Admin Level 6 Fica em cima do meu nick Dono Do servidor se eu sou setado de Gm level 5 Fica no meu nick Gamemaster Se eu sou level 4 Fica SUBGAMEMASTER Tendeu ai tipo ADM ADMINISTRADOR FIXO ADMA ADMINISTRADO TEMPORБRIO ADMT ADMINISTRADOR TESTE e Tbm se sou setado de DM De Morro fica em cima do nick tbm Lider Facзгo Frente Gerente Vapor E Fogueteiro tendeu ? se sou setado de Lider Facзгo e Admin level 6 o Admin q deve aparecer se tive como me passa um comando desse Os cargos sгo :Admin Level 6 Dono Servidor Admin Level 5 GameMaster level 4 Fica SUBGAMEMASTER ADM ADMINISTRADOR FIXO ADMA ADMINISTRADO TEMPORБRIO ADMT ADMINISTRADOR TESTE Lider Facзгo DONO De Morro Frente Gerente Vapor e Fogueteiro
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerChatBubble
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Reply
#3

men pesquisei em tudo nгo do conta afs ta osso kkkk
Reply
#4

Nгo sei, espero ter ajudado
Reply
#5

Deve tб procurando isso: https://sampforum.blast.hk/showthread.php?tid=334784
Reply
#6

PHP код:
SetTimer("AtualizarChatBubble"1000true); //Junto com os Timers em OnGamemodeInit
forward AtualizarChatBubble();  //FINAL DO GAMEMODE
public AtualizarChatBubble()
{
for(new 
x=0MAX_PLAYERSx++)
{
if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Dono do Servidor"COR_AZUL100.0100000);
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Game Master"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARНAVEL] >= 1)
{
SetPlayerChatBubble(x"Sub Game Master"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Administrador Fixo"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Administrador Avanзado"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Administrador Temporбrio"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Lнder Facзгo"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Dono do Morro"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Frente"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Gerente"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Vapor"COR_AZUL100.0100000); 
}
else if(
Player[x][SUA VARIБVEL] >= 1)
{
SetPlayerChatBubble(x"Fogueteiro"COR_AZUL100.0100000); 
}
}

Reply
#7

Rato tu й um mito obrigado por compreender <3
Reply
#8

Rato pode me dizer como vou descobrir a VARIБVEL ? das Fac e dos admins ?
Reply
#9

Quote:
Originally Posted by BrGabrielBr
Посмотреть сообщение
Rato pode me dizer como vou descobrir a VARIБVEL ? das Fac e dos admins ?
Vб em algum comando que sу administrador/Frente/gm utilize.

Exemplo: pAdmin,pFrente,pGerente,pVapor,pFogueteiro,pDM,pLi der...
Reply
#10

PHP код:
SetTimer("AtualizarChatBubble"1000true); //Junto com os Timers em OnGamemodeInit 
forward AtualizarChatBubble();  //FINAL DO GAMEMODE 
public AtualizarChatBubble() 

for(new 
x=0MAX_PLAYERSx++) 

if(
Player[x][pAdmin] >= 6

SetPlayerChatBubble(x"Dono do Servidor"COR_AZUL100.0100000); 

else if(
Player[x][pAdmin] >= 5

SetPlayerChatBubble(x"Game Master"COR_AZUL100.0100000);  

else if(
Player[x][pAdmin] >= 4

SetPlayerChatBubble(x"Sub Game Master"COR_AZUL100.0100000);  

else if(
Player[x][pAdmin] >= 3

SetPlayerChatBubble(x"Administrador Fixo"COR_AZUL100.0100000);  

else if(
Player[x][pAdmin] >= 2

SetPlayerChatBubble(x"Administrador Avanзado"COR_AZUL100.0100000);  

else if(
Player[x][pAdmin] >= 1

SetPlayerChatBubble(x"Administrador Temporбrio"COR_AZUL100.0100000);  

else if(
Player[x][pLider] >= 1

SetPlayerChatBubble(x"Lнder Facзгo"COR_AZUL100.0100000);  

else if(
Player[x][pDM] >= 1

SetPlayerChatBubble(x"Dono do Morro"COR_AZUL100.0100000);  

else if(
Player[x][pFrente] >= 1

SetPlayerChatBubble(x"Frente"COR_AZUL100.0100000);  

else if(
Player[x][pGerente] >= 1

SetPlayerChatBubble(x"Gerente"COR_AZUL100.0100000);  

else if(
Player[x][pVapor] >= 1

SetPlayerChatBubble(x"Vapor"COR_AZUL100.0100000);  

else if(
Player[x][pFogueteiro] >= 1

SetPlayerChatBubble(x"Fogueteiro"COR_AZUL100.0100000);  



Ver se funciona...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)