[Ajuda] Problemas em /r e /d
#1

pessoal, estou criando uma org com nome de Aeronбutica, ela estб na metade, ainda falta acrescentar alguns comandos como /r, /d, /batercartao, tambйm falta criar os carros.
Eu jб criei a org, acrescentei em /orgs, criei os cargos, setei o local da HQ e a skin.
Porйm ao tentar botar os comandos /r e /d deram uns erros, aqui estб um exemplo do /r e /d da Polнcia Federal e da Aeronбutica.
/r:
Polнcia Federal:
Код:
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;
			}
Aeronбutica:
Код:
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;
			}
/d:
Polнcia Federal:
Код:
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;
			}
Aeronбutica:
Код:
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;
			}
Ai quando eu compilo da esses erros:
Код:
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.
Alguйm pode me ajudar a explicar onde estгo os erros
Reply
#2

Vocк estб copiando os cуdigos? mal eu lhe pergunte.

Undefined Symbol - Nгo estб definido.
Reply
#3

Poderia postar o comando completo ?
Reply
#4

Pode estar fazendo adaptaзхes pegando partes de cуdigos, esses erros sгo comuns quando copiam linhas de cуdigos de diversas callbacks e unem elas em uma sу de forma que acha que tб perfeito '-'
Reply
#5

Vejam aqui entгo como ficou os comandos /r e /d completo e me digam onde estб o erro:
Comando /r completo: http://pastebin.com/Szwu8PYf
Comando /d completo: http://pastebin.com/Vb2rcwKg
Agora na hora de compilar ta dando isso:
Quote:

O pawn compiler library encontrou um problema e precisa ser fechado

Reply
#6

@Edit. Aqui estб os cуdigos /R e /D , procura no seu GM por SendFamilyMessage e posta ae por favor .

PHP код:
//----------------------------------[Team]-----------------------------------------------
    
if(strcmp(cmd"/radio"true) == || strcmp(cmd"/r"true) == 0)
    {
        if(
PlayerInfo[playerid][pMuted] == 1)
        {
            
SendClientMessage(playeridTEAM_CYAN_COLOR"Vocк nгo pode falar, pois foi calado");
            return 
true;
        }
        if(
IsPlayerConnected(playerid))
        {
            
GetPlayerName(playeridsendernamesizeof(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(playeridCOLOR_R"USE: (/r)adio [radio chat]");
                return 
true;
            }
            if(
TentouDivulgar(result))
            {
                if(
cdivulgar[playerid] >= 4)
                {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
                    
PlayerPlaySound(playerid11330.00.00.0);
                    
Kick(playerid);
                }
                
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
                
format(string128"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] == || PlayerInfo[playerid][pLider] == 1)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Comandante %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Cabo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Cadete %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Guarda %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(1,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 7)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Acessor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Vereador %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Seguranзa %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Motorista %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Motorista %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(7,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 2)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Cabo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Recruta %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Recruta %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 3)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** General %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Tenente Coronel %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Major %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(3,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 4)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Diretor Hospitalar %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Sub-Diretor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Mйdico Profissional %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Mйdico %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Enfermeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(4,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_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(stringsizeof(string), "** Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Perito Criminal %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Atirador de Elite %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Agente Do G.E.R %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Agente Do G.O.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Novato %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Novato %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(16,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_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(stringsizeof(string), "** Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Sub-Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Atirador %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Espiгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Agente %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Agente %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(11,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_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(stringsizeof(string), "** Tenente-Brigadeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Brigadeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Coronel %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(24,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD2"   Vocк nгo й de nenhuma equipe !");
                return 
true;
            }
        }
        return 
true;
    } 
PHP код:
//----------------------------------[departments]-----------------------------------------------
    
if(strcmp(cmd"/departamento"true) == || strcmp(cmd"/d"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            
GetPlayerName(playeridsendernamesizeof(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(playeridCOLOR_DEPTH"USE: (/d)epartamento [Texto]");
                return 
true;
            }
            if(
TentouDivulgar(result))
            {
                if(
cdivulgar[playerid] >= 4)
                {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
                    
PlayerPlaySound(playerid11330.00.00.0);
                    
Kick(playerid);
                }
                
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
                
format(string128"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] == || PlayerInfo[playerid][pLider] == 1)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PM Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Cadete %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Policia Militar %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 2)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** B.O.P.E Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 3)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Exйrcito Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Exercito %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 7)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Acessor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Agente do Governo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Seguranзa do Governo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Motorista do Governo %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Governo %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PC Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Policia Civil %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PF Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Aeronautica Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 4)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** SAMU Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD2"   Vocк nгo й um Policial/Mйdico!");
                return 
true;
            }
        }
        return 
true;
    } 
Reply
#7

Quote:
Originally Posted by Wendell
Посмотреть сообщение
@Edit. Aqui estб os cуdigos /R e /D , procura no seu GM por SendFamilyMessage e posta ae por favor .

PHP код:
//----------------------------------[Team]-----------------------------------------------
    
if(strcmp(cmd"/radio"true) == || strcmp(cmd"/r"true) == 0)
    {
        if(
PlayerInfo[playerid][pMuted] == 1)
        {
            
SendClientMessage(playeridTEAM_CYAN_COLOR"Vocк nгo pode falar, pois foi calado");
            return 
true;
        }
        if(
IsPlayerConnected(playerid))
        {
            
GetPlayerName(playeridsendernamesizeof(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(playeridCOLOR_R"USE: (/r)adio [radio chat]");
                return 
true;
            }
            if(
TentouDivulgar(result))
            {
                if(
cdivulgar[playerid] >= 4)
                {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
                    
PlayerPlaySound(playerid11330.00.00.0);
                    
Kick(playerid);
                }
                
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
                
format(string128"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] == || PlayerInfo[playerid][pLider] == 1)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Comandante %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Cabo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Cadete %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Guarda %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(1,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 7)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Acessor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Vereador %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Seguranзa %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Motorista %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Motorista %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(7,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 2)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Cabo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Recruta %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Recruta %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 3)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** General %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Tenente Coronel %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Major %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(3,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 4)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Diretor Hospitalar %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Sub-Diretor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Mйdico Profissional %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Mйdico %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Enfermeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Auxiliar de Enfermeiro %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(4,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_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(stringsizeof(string), "** Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Perito Criminal %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Atirador de Elite %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Agente Do G.E.R %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Agente Do G.O.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Novato %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Novato %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(16,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_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(stringsizeof(string), "** Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Sub-Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Capitгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Atirador %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Espiгo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Agente %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Agente %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(11,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_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(stringsizeof(string), "** Tenente-Brigadeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Brigadeiro %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Coronel %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Tenente %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Sargento %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Soldado %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(24,COLOR_R,string);
                
printf("%s"string);
                
format(stringsizeof(string), "* %s falou algo no rбdio."sendername);
                
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                return 
true;
            }
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD2"   Vocк nгo й de nenhuma equipe !");
                return 
true;
            }
        }
        return 
true;
    } 
PHP код:
//----------------------------------[departments]-----------------------------------------------
    
if(strcmp(cmd"/departamento"true) == || strcmp(cmd"/d"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            
GetPlayerName(playeridsendernamesizeof(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(playeridCOLOR_DEPTH"USE: (/d)epartamento [Texto]");
                return 
true;
            }
            if(
TentouDivulgar(result))
            {
                if(
cdivulgar[playerid] >= 4)
                {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Aqui vocк nгo pode anunciar servidores!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu servidor й uma merda, nгo divulgue-o aqui!");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,"Seu noob peguei esse IP e vou divulgar nesse server tambйm, uaheuhaeuhaeahe!");
                    
PlayerPlaySound(playerid11330.00.00.0);
                    
Kick(playerid);
                }
                
GetPlayerName(playeridplayernameMAX_PLAYER_NAME);
                
format(string128"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] == || PlayerInfo[playerid][pLider] == 1)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PM Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PM %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Cadete %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Policia Militar %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 2)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** B.O.P.E Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** B.O.P.E %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 3)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Exйrcito Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Exйrcito %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Exercito %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 7)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Vice-Prefeito %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Acessor %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Agente do Governo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Seguranзa do Governo %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Motorista do Governo %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Governo %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == 16 || PlayerInfo[playerid][pLider] == 16)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PC Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** PC %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Policia Civil %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
               else if(
PlayerInfo[playerid][pMembro] == 11 || PlayerInfo[playerid][pLider] == 11)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** PF Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** PF %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == 24 || PlayerInfo[playerid][pLider] == 24)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** Aeronautica Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** Aeronautica %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else if(
PlayerInfo[playerid][pMembro] == || PlayerInfo[playerid][pLider] == 4)
            {
                if(
PlayerInfo[playerid][pCargo] == 6) { format(stringsizeof(string), "** SAMU Lнder %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 5) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 4) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 3) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 2) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else if(
PlayerInfo[playerid][pCargo] == 1) { format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult); }
                else
                {
                    
format(stringsizeof(string), "** SAMU %s: %s, cвmbio. **"sendernameresult);
                }
                
SendFamilyMessage(2COLOR_DEPTHstring);
                
SendFamilyMessage(1COLOR_DEPTHstring);
                
SendFamilyMessage(3COLOR_DEPTHstring);
                
SendFamilyMessage(16COLOR_DEPTHstring);
                
SendFamilyMessage(7COLOR_DEPTHstring);
                
SendFamilyMessage(11COLOR_DEPTHstring);
                
SendFamilyMessage(4COLOR_DEPTHstring);
                
SendFamilyMessage(24COLOR_DEPTHstring);
                
printf("%s"string);
                return 
true;
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD2"   Vocк nгo й um Policial/Mйdico!");
                return 
true;
            }
        }
        return 
true;
    } 
Botei isso, e na hora de compilar da esse problema:
Код:
O Pawn Compiler library encontrou um problema e precisa ser fechado.
Reply
#8

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 .
Reply
#9

Quote:
Originally Posted by Wendell
Посмотреть сообщение
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 .
Onde pode estar o erro entгo?
Reply
#10

Quote:
Originally Posted by lokos45
Посмотреть сообщение
Botei isso, e na hora de compilar da esse problema:
Код:
O Pawn Compiler library encontrou um problema e precisa ser fechado.
http://tabulador.medianewsonline.com/


E a propуsito se tudo estivesse correto nгo teria erros na hora da compilaзгo.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)