[Ajuda] ChatBubble
#1

PHP код:
if(Player[playerid][pRadinho] == 1)
     {
     new 
Player[playerid][pFaccao];
     
format(string,256,"Radinho - %s",Faccoes[t][tNome]);
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
      }
    if(
Player[playerid][pFogueteiro] == 1)
     {
     new 
Player[playerid][pFaccao];
      
format(string,256,"Fogueteiro - %s",Faccoes[t][tNome]);
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
      }
    if(
Player[playerid][pVapor] == 1)
     {
     new 
Player[playerid][pFaccao];
      
format(string,256,"Vapor - %s",Faccoes[t][tNome]);
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
      }
    if(
Player[playerid][pGerente] == 1)
     {
     new 
Player[playerid][pFaccao];
      
format(string,256,"Gerente - %s",Faccoes[t][tNome]);
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
      }
    if(
Player[playerid][pFrente] == 1)
     {
     new 
Player[playerid][pFaccao];
      
format(string,256,"Frente - %s",Faccoes[t][tNome]);
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
      }
      if(
Player[playerid][pDM] == 1)
     {
     new 
Player[playerid][pFaccao];
      
format(string,256,"Dono Morro - %s",Faccoes[t][tNome]);
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
      }
      if(
Player[playerid][pLider] == 1)
     {
    if(
Player[playerid][pFaccao] == || Player[playerid][pFaccao] == || Player[playerid][pFaccao] == || Player[playerid][pFaccao] == 4)
    {
      
format(string,256,"Lнder Facзгo - CMD");
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
       }
    if(
Player[playerid][pFaccao] == || Player[playerid][pFaccao] == || Player[playerid][pFaccao] == || Player[playerid][pFaccao] == 8)
    {
      
format(string,256,"Lнder Facзгo - LLL");
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
       }
    if(
Player[playerid][pFaccao] == || Player[playerid][pFaccao] == 10 || Player[playerid][pFaccao] == 11 || Player[playerid][pFaccao] == 12)
    {
      
format(string,256,"Lнder Facзгo - TD3");
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
       }
    if(
Player[playerid][pFaccao] == 13 || Player[playerid][pFaccao] == 14 || Player[playerid][pFaccao] == 15 || Player[playerid][pFaccao] == 16)
    {
      
format(string,256,"Lнder Facзгo - MLC");
       
SetPlayerChatBubble(playerid,stringCOR_PRINCIPAL20.010000);
       }
       } 
Tipo Da os seguintes erros quando eu compilo
PHP код:
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26825) : error 010invalid function or declaration
C
:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26828) : error 021symbol already defined"format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26831) : error 010invalid function or declaration
C
:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26833) : error 021symbol already defined"t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26834) : error 021symbol already defined"format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26837) : error 010invalid function or declaration
C
:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26839) : error 021symbol already defined"t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26840) : error 021symbol already defined"format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26843) : error 010invalid function or declaration
C
:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26845) : error 021symbol already defined"t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26846) : error 021symbol already defined"format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26849) : error 010invalid function or declaration
C
:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26851) : error 021symbol already defined"t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26852) : error 021symbol already defined"format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26855) : error 010invalid function or declaration
C
:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26857) : error 021symbol already defined"t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26858) : error 021symbol already defined"format" 
Reply


Messages In This Thread
ChatBubble - by BrGabrielBr - 14.04.2017, 17:48
Re: ChatBubble - by ViniBorn - 14.04.2017, 17:59
Respuesta: ChatBubble - by BrGabrielBr - 14.04.2017, 18:19
Re: ChatBubble - by JhefTFJ - 14.04.2017, 19:54
Respuesta: ChatBubble - by BrGabrielBr - 14.04.2017, 21:38
Re: ChatBubble - by TheusCrazzy - 15.04.2017, 02:03
Respuesta: ChatBubble - by BrGabrielBr - 15.04.2017, 03:06
Re: ChatBubble - by ViniBorn - 15.04.2017, 04:11
Respuesta: ChatBubble - by BrGabrielBr - 15.04.2017, 06:37
Re: ChatBubble - by ViniBorn - 15.04.2017, 15:31

Forum Jump:


Users browsing this thread: 1 Guest(s)