[Pedido] Ajuda com erros
#1

Bom galera estou tentando monta um comando para os cops mas esta dano uns erro chatos que nгo consigo resolve-lo alguйm me ajuda pfv
PHP код:
dcmd_enquadrar(playeridparams[])
{
    if(
Player[playerid][pPMRJ] < || Player[playerid][pBOPE] < 1) return SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Vocк nгo tem permissгo!");
    if(!
strlen(params))
        return 
SendClientMessage(playeridAzulEscuro,"[USE]: /enquadrar [texto]");
    if(!
IsPlayerConnected(id))
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador nгo estб conectado.");
            
SetPlayerSpecialAction(idSPECIAL_ACTION_HANDSUP);
    if(
Player[id][pLogged] == false)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Esse jogador nгo estб logado!");
    if(
Player[id][pTempoPreso] >= 1)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador estб preso!");
    new 
string[128];
    
format(string128"Vocк enquadrou o %s."getPName(id));
    
SendClientMessage(playerid, -1String);
    
format(string128"O Policial Militar %s te enquadrou."getPName(playerid));
    
MensagemLocal(idCOR_ROXOstring60);
    return 
1;
}
dcmd_liberar(playeridparams[])
{
    if(
Player[playerid][pPMRJ] < || Player[playerid][pBOPE] < 1) return SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Vocк nгo tem permissгo!");
    if(!
strlen(params))
        return 
SendClientMessage(playeridAzulEscuro,"[USE]: /enquadrar [texto]");
    if(!
IsPlayerConnected(id))
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador nгo estб conectado.");
            
ClearAnimations(playerid);
    if(
Player[id][pLogged] == false)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Esse jogador nгo estб logado!");
    if(
Player[id][pTempoPreso] >= 1)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador estб preso!");
    new 
string[128];
    
format(string128"O Policial Militar %s te liberou."getPName(id));
    
SendClientMessage(playerid, -1String);
    
format(string128"O Policial Militar %s te liberou."getPName(playerid));
    
SendClientMessage(id, -1String);
    return 
1;

Код:
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23177) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23179) : warning 217: loose indentation
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23179) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23181) : warning 217: loose indentation
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23181) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23184) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23188) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23189) : error 017: undefined symbol "String"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23191) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23203) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23205) : warning 217: loose indentation
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23207) : warning 217: loose indentation
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23207) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23210) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23214) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23215) : error 017: undefined symbol "String"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(23217) : error 017: undefined symbol "id"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(25618) : warning 203: symbol is never used: "PosCX"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


13 Errors.
Reply


Messages In This Thread
Ajuda com erros - by henrique22157 - 15.03.2018, 13:12
Re: Ajuda com erros - by rolex - 15.03.2018, 13:16
Re: Ajuda com erros - by henrique22157 - 15.03.2018, 13:25
Re: Ajuda com erros - by FerrariL - 15.03.2018, 13:28
Re: Ajuda com erros - by rolex - 15.03.2018, 13:38
Re: Ajuda com erros - by henrique22157 - 15.03.2018, 14:27
Re: Ajuda com erros - by rolex - 15.03.2018, 14:43
Re: Ajuda com erros - by henrique22157 - 15.03.2018, 17:07
Re: Ajuda com erros - by rolex - 15.03.2018, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)