[Ajuda] 26 Erros
#1

Bom galera estou editando um comando que eu montei e deu 26 erros alguem ajuda

PHP код:
dcmd_enquadrar(playeridparams[])
{
    new 
id;
    if(
Player[playerid][pAdmin] < || Player[playerid][pBOPE] < 1) return SendClientMessage(playerid,COR_ERRO,"{CD5C5C}ERRO: {D2B48C}» Vocк nгo tem permissгo");
    if(!
strlen(params))
        return 
SendClientMessage(playeridAzulEscuro,"[USE]: /enquadrar [texto]");
    if(
EmTrabalho[playerid] == 0)
        return 
SendClientMessage(playeridCOR_ERRO"ERRO: Vocк nгo estб em trabalho!");
    if(!
IsPlayerConnected(id))
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador nгo estб conectado.");
    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!");
    if(!
IsPlayerConnected(id) || id == playerid)
        return 
SendClientMessage(playerid,COR_ERRO,"{CD5C5C}ERRO: {D2B48C}» Vocк nгo pode enquadrar a sн mesmo!");
    if(
Player[id][Enquadrado] == true)
    {
        
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Esse player jб estб enquadrado!");
    }
    else
    {
        
Player[id][Enquadrado] = true;
        
TogglePlayerControllable(id0);
    
ApplyAnimation(id"ROB_BANK""SHP_HandsUp_Scr",  4.001110);
    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[])
{
    new 
id;
    if(
Player[playerid][pAdmin] < || Player[playerid][pBOPE] < 1) return SendClientMessage(playerid,COR_ERRO,"{CD5C5C}ERRO: {D2B48C}» Vocк nгo tem permissгo");
    if(!
strlen(params))
        return 
SendClientMessage(playeridAzulEscuro,"[USE]: /liberar [texto]");
    if(
EmTrabalho[playerid] == 0)
        return 
SendClientMessage(playeridCOR_ERRO"ERRO: Vocк nгo estб em trabalho!");
    if(!
IsPlayerConnected(id))
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador nгo estб conectado.");
    if(
Player[id][pLogged] == false)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Esse jogador nгo estб logado!");
    if(
Player[id][InHospital] == true)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Esse jogador estб no hospital!");
    if(
Player[id][pTempoPreso] >= 1)
        return 
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Este jogador estб preso!");
    if(!
IsPlayerConnected(id) || id == playerid)
        return 
SendClientMessage(playerid,COR_ERRO,"{CD5C5C}ERRO: {D2B48C}» Vocк nгo pode liberar a sн mesmo!");
    if(
Player[id][Enquadrado] == false)
    {
        
SendClientMessage(playeridCOR_ERRO"{CD5C5C}ERRO: {D2B48C}» Esse player nгo estб enquadrado!");
    }
    else
    {
        
Player[id][Enquadrado] = false;
        
TogglePlayerControllable(id1);
    
ClearAnimations(playerid);
    new 
string[128];
    
format(string128"Vocк liberou o %s."getPName(id));
    
SendClientMessage(playerid, -1string);
    
format(string128"O Policial Militar %s te liberou."getPName(playerid));
    
SendClientMessage(id, -1string);
    return 
1;
}
enum pInfo
{
    
bool:Enquadrado
}
public 
OnPlayerConnect(playerid)
    
Player[playerid][Enquadrado] = false;
public 
OnPlayerDisconnect(playeridreason)
    
Player[playerid][Enquadrado] = false
Код:
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(1555) : error 017: undefined symbol "SalvarLog"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(1556) : error 017: undefined symbol "SetarArmas"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(1573) : error 017: undefined symbol "LoadConfig"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(6962) : error 017: undefined symbol "SalvarDadosOrgsCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(6963) : error 017: undefined symbol "GuardarArmas"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7138) : error 017: undefined symbol "GetPlayerFile"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7138) : error 033: array must be indexed (variable "file")
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7164) : error 017: undefined symbol "CreateMapIcons"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7355) : error 017: undefined symbol "VerificarRival"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7398) : error 017: undefined symbol "MensagemLocal"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7431) : error 017: undefined symbol "RemoveNeon"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7438) : error 017: undefined symbol "RemoveNeon"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7518) : error 017: undefined symbol "HidePlayerArrow"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7541) : error 017: undefined symbol "ResetPlayerTeam"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7877) : error 017: undefined symbol "GetDistanceBetweenPlayers"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7949) : error 017: undefined symbol "SalvarLog"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7968) : error 017: undefined symbol "SalvarLog"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(7995) : error 017: undefined symbol "ResetPlayerTeam"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8039) : error 017: undefined symbol "SendMessageToCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8041) : error 017: undefined symbol "SendMessageToCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8052) : error 017: undefined symbol "SendMessageToCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8054) : error 017: undefined symbol "SendMessageToCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8070) : error 017: undefined symbol "SalvarDadosOrgsCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8094) : error 017: undefined symbol "SendMessageToCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8096) : error 017: undefined symbol "SendMessageToCops"
C:\Users\Henrique Guedes\Desktop\GameMode\gamemodes\gamemodehenrique.pwn(8107) : error 017: undefined symbol "SendMessageToCops"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply


Messages In This Thread
26 Erros - by henrique22157 - 16.03.2018, 20:46
Re: 26 Erros - by zG - 16.03.2018, 20:48
Re: 26 Erros - by Cleyson - 16.03.2018, 20:51
Re: 26 Erros - by SpikeCompiler - 16.03.2018, 20:51
Re: 26 Erros - by henrique22157 - 16.03.2018, 21:00
Re: 26 Erros - by FerrariL - 16.03.2018, 21:05

Forum Jump:


Users browsing this thread: 2 Guest(s)