if(Player[playerid][pRadinho] == 1)
{
new t = Player[playerid][pFaccao];
format(string,256,"Radinho - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFogueteiro] == 1)
{
new t = Player[playerid][pFaccao];
format(string,256,"Fogueteiro - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pVapor] == 1)
{
new t = Player[playerid][pFaccao];
format(string,256,"Vapor - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pGerente] == 1)
{
new t = Player[playerid][pFaccao];
format(string,256,"Gerente - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFrente] == 1)
{
new t = Player[playerid][pFaccao];
format(string,256,"Frente - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pDM] == 1)
{
new t = Player[playerid][pFaccao];
format(string,256,"Dono Morro - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pLider] == 1)
{
if(Player[playerid][pFaccao] == 1 || Player[playerid][pFaccao] == 2 || Player[playerid][pFaccao] == 3 || Player[playerid][pFaccao] == 4)
{
format(string,256,"Lнder Facзгo - CMD");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFaccao] == 5 || Player[playerid][pFaccao] == 6 || Player[playerid][pFaccao] == 7 || Player[playerid][pFaccao] == 8)
{
format(string,256,"Lнder Facзгo - LLL");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFaccao] == 9 || Player[playerid][pFaccao] == 10 || Player[playerid][pFaccao] == 11 || Player[playerid][pFaccao] == 12)
{
format(string,256,"Lнder Facзгo - TD3");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
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,string, COR_PRINCIPAL, 20.0, 10000);
}
}
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26825) : error 010: invalid function or declaration
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26828) : error 021: symbol already defined: "format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26831) : error 010: invalid function or declaration
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26833) : error 021: symbol already defined: "t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26834) : error 021: symbol already defined: "format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26837) : error 010: invalid function or declaration
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26839) : error 021: symbol already defined: "t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26840) : error 021: symbol already defined: "format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26843) : error 010: invalid function or declaration
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26845) : error 021: symbol already defined: "t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26846) : error 021: symbol already defined: "format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26849) : error 010: invalid function or declaration
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26851) : error 021: symbol already defined: "t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26852) : error 021: symbol already defined: "format"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26855) : error 010: invalid function or declaration
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26857) : error 021: symbol already defined: "t"
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26858) : error 021: symbol already defined: "format"
PHP код:
PHP код:
|
if(Player[playerid][pRadinho] == 1)
{
new t = Player[playerid][pFaccoes];
format(string,256,"Radinho - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFogueteiro] == 1)
{
new t = Player[playerid][pFaccoes];
format(string,256,"Fogueteiro - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pVapor] == 1)
{
new t = Player[playerid][pFaccoes];
format(string,256,"Vapor - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pGerente] == 1)
{
new t = Player[playerid][pFaccoes];
format(string,256,"Gerente - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFrente] == 1)
{
new t = Player[playerid][pFaccoes];
format(string,256,"Frente - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pDM] == 1)
{
new t = Player[playerid][pFaccoes];
format(string,256,"Dono Morro - %s",Faccoes[t][tNome]);
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pLider] == 1)
{
if(Player[playerid][pFaccoes] == 1 || Player[playerid][pFaccoes] == 2 || Player[playerid][pFaccoes] == 3 || Player[playerid][pFaccoes] == 4)
{
format(string,256,"Lнder Facзгo - CMD");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFaccoes] == 5 || Player[playerid][pFaccoes] == 6 || Player[playerid][pFaccoes] == 7 || Player[playerid][pFaccoes] == 8)
{
format(string,256,"Lнder Facзгo - LLL");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFaccoes] == 9 || Player[playerid][pFaccoes] == 10 || Player[playerid][pFaccoes] == 11 || Player[playerid][pFaccoes] == 12)
{
format(string,256,"Lнder Facзгo - TD3");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
if(Player[playerid][pFaccoes] == 13 || Player[playerid][pFaccoes] == 14 || Player[playerid][pFaccoes] == 15 || Player[playerid][pFaccoes] == 16)
{
format(string,256,"Lнder Facзгo - MLC");
SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000);
}
}
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(2690 : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26910) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26911) : error 017: undefined symbol "string" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26912) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26914) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26916) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26917) : error 017: undefined symbol "string" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(2691 : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26920) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26922) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26923) : error 017: undefined symbol "string" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26924) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26926) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(2692 : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26929) : error 017: undefined symbol "string" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26930) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26932) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26934) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26935) : error 017: undefined symbol "string" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26936) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(2693 : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26940) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26941) : error 017: undefined symbol "string" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26942) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26944) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26946) : error 017: undefined symbol "playerid" |
C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26960) : error 001: expected token: "-identifier-", but found "*" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26961) : warning 217: loose indentation C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26961) : error 017: undefined symbol "playerid" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26961) : error 029: invalid expression, assumed zero C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26961) : warning 215: expression has no effect C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26961) : error 001: expected token: ";", but found ")" C:\Users\Lan\Desktop\PROJETOS SAMP\Novo Projeto VDB 2017\gamemodes\PROJETO.pwn(26961) : fatal error 107: too many error messages on one line |
//-----------------------------------FAVELA-------------------------------------// if(Player[playerid][pRadinho] == 1) { new t = Player[playerid][pFaccao]; format(string,256,"Radinho - %s",Faccoes[t][tNome]); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pFogueteiro] == 1) { new t = Player[playerid][pFaccao]; format(string,256,"Fogueteiro - %s",Faccoes[t][tNome]); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pVapor] == 1) { new t = Player[playerid][pFaccao]; format(string,256,"Vapor - %s",Faccoes[t][tNome]); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pGerente] == 1) { new t = Player[playerid][pFaccao]; format(string,256,"Gerente - %s",Faccoes[t][tNome]); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pFrente] == 1) { new t = Player[playerid][pFaccao]; format(string,256,"Frente - %s",Faccoes[t][tNome]); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pDM] == 1) { new t = Player[playerid][pFaccao]; format(string,256,"Dono Morro - %s",Faccoes[t][tNome]); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pLider] == 1) { if(Player[playerid][pFaccao] == 1 || Player[playerid][pFaccao] == 2 || Player[playerid][pFaccao] == 3 || Player[playerid][pFaccao] == 4) { format(string,256,"Lнder Facзгo - CMD"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pFaccao] == 5 || Player[playerid][pFaccao] == 6 || Player[playerid][pFaccao] == 7 || Player[playerid][pFaccao] == { format(string,256,"Lнder Facзгo - LLL"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pFaccao] == 9 || Player[playerid][pFaccao] == 10 || Player[playerid][pFaccao] == 11 || Player[playerid][pFaccao] == 12) { format(string,256,"Lнder Facзгo - TD3"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } 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,string, COR_PRINCIPAL, 20.0, 10000); } } //------------------------------------------------------------------------------// if(Player[playerid][pPMRJ] == 1) { format(string,256,"Policial Militar - Recruta"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pPMRJ] == 2) { format(string,256,"Policial Militar - Soldado"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pPMRJ] == 3) { format(string,256,"Policial Militar - Capitгo"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pPMRJ] == 4) { format(string,256,"Policial Militar - Major"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pPMRJ] == 5) { format(string,256,"Policial Militar - Coronel"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pBOPE] == 1) { format(string,256,"Policial Civil - Piloto"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pBOPE] == 2) { format(string,256,"Policial Civil - Inspetor"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pBOPE] == 3) { format(string,256,"Policial Civil - Investigador"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pBOPE] == 4) { format(string,256,"Policial Civil - Comissбrio"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } if(Player[playerid][pBOPE] == 5) { format(string,256,"Policial Civil - Delegado"); SetPlayerChatBubble(playerid,string, COR_PRINCIPAL, 20.0, 10000); } //-----------------------------------STAFF--------------------------------------// if(Player[playerid][pAdmin] == 1) { SetPlayerChatBubble(playerid,"Administrador Temporбrio",COR_PRINCIPAL,20.0,10000); } if(Player[playerid][pAdmin] == 2) { SetPlayerChatBubble(playerid,"Admininistrador Ajudante",COR_PRINCIPAL,20.0,10000); } if(Player[playerid][pAdmin] == 3) { SetPlayerChatBubble(playerid,"Administrador Fixo",COR_PRINCIPAL,20.0,10000); } if(Player[playerid][pAdmin] == 4) { SetPlayerChatBubble(playerid,"Sub Game Master",COR_PRINCIPAL,20.0,10000); } if(Player[playerid][pAdmin] == 5) { SetPlayerChatBubble(playerid,"Game Master",COR_PRINCIPAL,20.0,10000); } if(Player[playerid][pAdmin] == 6) { SetPlayerChatBubble(playerid,"Lнder Geral",COR_PRINCIPAL,20.0,10000); } |