[Ajuda] Erros ao Compilar
#1

C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : warning 225: unreachable code
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : error 017: undefined symbol "string"
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : error 017: undefined symbol "string"
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : error 029: invalid expression, assumed zero
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : fatal error 107: too many error messages on one line

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


4 Errors.
Linha 2809 :
Код:
format( string, sizeof( string ), "%s (%d) Foi banido |Motivo|: Conta estб banida", aname,playerid);
Comando completo :
Код:
//if(dini_Int("banidos.ini",PlayerName(playerid)) == 1)
//{
//SendClientMessage(playerid, 0x11B1FFAA, "Vocк foi banido |Motivo|: Conta estб banida!");
format( string, sizeof( string ), "%s (%d) Foi banido |Motivo|: Conta estб banida", aname,playerid);
SendClientMessageToAll(0x11B1FFAA, string);
Kick(playerid);
return 0;
}
Reply
#2

Quote:
Originally Posted by IGp
Посмотреть сообщение
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : warning 225: unreachable code
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : error 017: undefined symbol "string"
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : error 017: undefined symbol "string"
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : error 029: invalid expression, assumed zero
C:\Users\Vitor\Desktop\Downloads\BnV\gamemodes\BNV .pwn(2809) : fatal error 107: too many error messages on one line

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


4 Errors.
Linha 2809 :
Код:
format( string, sizeof( string ), "%s (%d) Foi banido |Motivo|: Conta estб banida", aname,playerid);
Comando completo :
Код:
//if(dini_Int("banidos.ini",PlayerName(playerid)) == 1)
//{
//SendClientMessage(playerid, 0x11B1FFAA, "Vocк foi banido |Motivo|: Conta estб banida!");
format( string, sizeof( string ), "%s (%d) Foi banido |Motivo|: Conta estб banida", aname,playerid);
SendClientMessageToAll(0x11B1FFAA, string);
Kick(playerid);
return 0;
}
Vocк esta usando o include Dini?
Reply
#3

pawn Код:
if(dini_Int("banidos.ini",PlayerName(playerid)) == 1)
{
    SendClientMessage(playerid, 0x11B1FFAA, "Vocк foi banido |Motivo|: Conta estб banida!");
    new string[150];
    format( string, sizeof( string ), "%s (%d) Foi banido |Motivo|: Conta estб banida", aname,playerid);
    SendClientMessageToAll(0x11B1FFAA, string);
    Kick(playerid);
    return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)