else if(PlayerInfo[playerid][pMembro]== 11 || PlayerInfo[playerid][pLider]== 11) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Sub-Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Atirador %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Espiгo %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Agente %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** Agente %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(11,COLOR_R,string); printf("%s", string); format(string, sizeof(string), "* %s falou algo no rбdio.", sendername); ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; }
else if(PlayerInfo[playerid][pMembro]== 24 || PlayerInfo[playerid][pLider]== 24) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Tenente-Brigadeiro %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Brigadeiro %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(11,COLOR_R,string); printf("%s", string); format(string, sizeof(string), "* %s falou algo no rбdio.", sendername); ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return true; }
else if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** PF Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(2, COLOR_DEPTH, string); SendFamilyMessage(1, COLOR_DEPTH, string); SendFamilyMessage(3, COLOR_DEPTH, string); SendFamilyMessage(16, COLOR_DEPTH, string); SendFamilyMessage(7, COLOR_DEPTH, string); SendFamilyMessage(11, COLOR_DEPTH, string); SendFamilyMessage(4, COLOR_DEPTH, string); printf("%s", string); return true; }
else if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24) { if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Aeronautica Lнder %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } else { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); } SendFamilyMessage(2, COLOR_DEPTH, string); SendFamilyMessage(1, COLOR_DEPTH, string); SendFamilyMessage(3, COLOR_DEPTH, string); SendFamilyMessage(16, COLOR_DEPTH, string); SendFamilyMessage(7, COLOR_DEPTH, string); SendFamilyMessage(11, COLOR_DEPTH, string); SendFamilyMessage(4, COLOR_DEPTH, string); printf("%s", string); return true; }
C:\Documents and Settings\Conta\Desktop\Natгo\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented C:\Documents and Settings\Conta\Desktop\Natгo\pawno\include\servermoneyGM.inc(16) : error 004: function "GMExit" is not implemented C:\Documents and Settings\Conta\Desktop\Natгo\pawno\include\servermoneyGM.inc(47) : error 004: function "OnPlayerHaveExtraCash" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(916) : error 004: function "SaveCars" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1869) : error 017: undefined symbol "GetPlayerOrg" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1876) : error 017: undefined symbol "GetPlayerOrg" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1916) : error 017: undefined symbol "GetName" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1917) : error 017: undefined symbol "GetName" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1918) : error 017: undefined symbol "GetName" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1968) : error 004: function "PlayerToPoint" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1978) : error 004: function "OnPlayerText" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(1978) : error 004: function "OnPlayerText" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(3395) : error 004: function "ClearChatbox" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(3486) : error 004: function "ClearChatbox" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(3503) : error 004: function "ClearChatbox" is not implemented C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4685) : warning 202: number of arguments does not match definition C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4910) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4952) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(4994) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5036) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5065) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5094) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5123) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5152) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5181) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5229) : error 017: undefined symbol "IsNumero" C:\DOCUME~1\Conta\Desktop\NATO~1\GAMEMO~1\INFINI~1.PWN(5258) : error 017: undefined symbol "IsNumero" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
O pawn compiler library encontrou um problema e precisa ser fechado |
//----------------------------------[Team]-----------------------------------------------
if(strcmp(cmd, "/radio", true) == 0 || strcmp(cmd, "/r", true) == 0)
{
if(PlayerInfo[playerid][pMuted] == 1)
{
SendClientMessage(playerid, TEAM_CYAN_COLOR, "Vocк nгo pode falar, pois foi calado");
return true;
}
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_R, "USE: (/r)adio [radio chat]");
return true;
}
if(TentouDivulgar(result))
{
if(cdivulgar[playerid] >= 4)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
Kick(playerid);
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, 128, "AdmAviso: [%d]%s tentou divulgar: %s.",playerid,playername,result);
ABroadCast(COLOR_YELLOW,string,1);
DivulgouLog(string);
cdivulgar[playerid] += 1;
return true;
}
if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Comandante %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Cabo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Cadete %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Guarda %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(1,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Prefeito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Acessor %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Vereador %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Seguranзa %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Motorista %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Motorista %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(7,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Cabo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Recruta %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Recruta %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** General %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Tenente Coronel %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Major %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(3,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Diretor Hospitalar %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Sub-Diretor %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Mйdico Profissional %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Mйdico %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Enfermeiro %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(4,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro]== 16 || PlayerInfo[playerid][pLider]== 16)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Perito Criminal %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Atirador de Elite %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Agente Do G.E.R %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Agente Do G.O.E %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Novato %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Novato %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(16,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro]== 11 || PlayerInfo[playerid][pLider]== 11)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Sub-Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Capitгo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Atirador %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Espiгo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Agente %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Agente %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(11,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Tenente-Brigadeiro %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Brigadeiro %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Coronel %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Tenente %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Sargento %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Soldado %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(24,COLOR_R,string);
printf("%s", string);
format(string, sizeof(string), "* %s falou algo no rбdio.", sendername);
ProxDetector(20.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return true;
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Vocк nгo й de nenhuma equipe !");
return true;
}
}
return true;
}
//----------------------------------[departments]-----------------------------------------------
if(strcmp(cmd, "/departamento", true) == 0 || strcmp(cmd, "/d", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_DEPTH, "USE: (/d)epartamento [Texto]");
return true;
}
if(TentouDivulgar(result))
{
if(cdivulgar[playerid] >= 4)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
Kick(playerid);
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, 128, "AdmAviso: [%d]%s tentou divulgar: %s.",playerid,playername,result);
ABroadCast(COLOR_YELLOW,string,1);
DivulgouLog(string);
cdivulgar[playerid] += 1;
return true;
}
if(PlayerInfo[playerid][pMembro] == 1 || PlayerInfo[playerid][pLider] == 1)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** PM Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** PM %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** PM %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** PM %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** PM %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Cadete %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Policia Militar %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 2 || PlayerInfo[playerid][pLider] == 2)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** B.O.P.E Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** B.O.P.E %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** B.O.P.E %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** B.O.P.E %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** B.O.P.E %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** B.O.P.E %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** B.O.P.E %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 3 || PlayerInfo[playerid][pLider] == 3)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Exйrcito Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Exйrcito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Exйrcito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Exйrcito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Exйrcito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Exйrcito %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Exercito %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 7 || PlayerInfo[playerid][pLider] == 7)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Prefeito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Acessor %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Agente do Governo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Seguranзa do Governo %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Motorista do Governo %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Governo %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** PC Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** PC %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** PC %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** PC %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** PC %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** PC %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Policia Civil %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** PF Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** PF %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** Aeronautica Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** Aeronautica %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else if(PlayerInfo[playerid][pMembro] == 4 || PlayerInfo[playerid][pLider] == 4)
{
if(PlayerInfo[playerid][pCargo] == 6) { format(string, sizeof(string), "** SAMU Lнder %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 5) { format(string, sizeof(string), "** SAMU %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 4) { format(string, sizeof(string), "** SAMU %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 3) { format(string, sizeof(string), "** SAMU %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 2) { format(string, sizeof(string), "** SAMU %s: %s, cвmbio. **", sendername, result); }
else if(PlayerInfo[playerid][pCargo] == 1) { format(string, sizeof(string), "** SAMU %s: %s, cвmbio. **", sendername, result); }
else
{
format(string, sizeof(string), "** SAMU %s: %s, cвmbio. **", sendername, result);
}
SendFamilyMessage(2, COLOR_DEPTH, string);
SendFamilyMessage(1, COLOR_DEPTH, string);
SendFamilyMessage(3, COLOR_DEPTH, string);
SendFamilyMessage(16, COLOR_DEPTH, string);
SendFamilyMessage(7, COLOR_DEPTH, string);
SendFamilyMessage(11, COLOR_DEPTH, string);
SendFamilyMessage(4, COLOR_DEPTH, string);
SendFamilyMessage(24, COLOR_DEPTH, string);
printf("%s", string);
return true;
}
else
{
SendClientMessage(playerid, COLOR_GRAD2, " Vocк nгo й um Policial/Mйdico!");
return true;
}
}
return true;
}
@Edit. Aqui estб os cуdigos /R e /D , procura no seu GM por SendFamilyMessage e posta ae por favor .
PHP код:
PHP код:
|
O Pawn Compiler library encontrou um problema e precisa ser fechado.
Procurei por erros no cуdigo e nгo achei nada de errado , arrumei o /r e o /d .
Acho que o erro nгo estб nesses comandos . |
Botei isso, e na hora de compilar da esse problema:
Код:
O Pawn Compiler library encontrou um problema e precisa ser fechado. |