[Ajuda] ai pessoal ajuda ai erro ao compilar
#1

boas noites a todos sera que alguem me pode ajudar ? nesse error

pawn Код:
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\VBan.inc(43) : error 037: invalid string (possibly non-terminated string)
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\VBan.inc(43) : warning 215: expression has no effect
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\VBan.inc(43) : error 001: expected token: ";", but found "-identifier-"
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\VBan.inc(43) : error 017: undefined symbol "VBan"
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\VBan.inc(43) : fatal error 107: too many error messages on one line
Reply
#2

й mais facil se voce partilhar o seu codigo junto com o erro, umas 5 linhas de codigo proximas (5 acima e 5 abaixo, incluido a do erro)

mas pelo que sei, na linha 43, ou entao na linha de cima voce esqueceu o ; e estб a usar a variavel VBan sem definir
Reply
#3

#define APRE_FILE "Carros/Apreendidos.ini"
#define RECORD_FILE "Logs/Recorde.ini"
line 43 e esta #define ConfigFile "Logs/config.cfg"
#define ZonesFile "Logs/zones.ini"
#define VIPFile "VIP/%s.ini"

ja nao sei que fazer
Reply
#4

linha 43 do "VBan.inc" nao do gamemode ...
Reply
#5

stock VBanID(playerid,giveid,motivo[])
{
format(NICKBAN,20,VBanPlayer(giveid));
if(playerid > -1)
{
-> esta e line 43 do VBAN format(Vstring,128,"'- VBan -' O jogador %s foi banido por %s. Motivo:

%s",VBanPlayer(giveid),VBanPlayer(playerid),motivo );
SendClientMessageToAll(CorBan,Vstring);
GetPlayerIp(giveid, VIP, sizeof(VIP));
format(Vnewban,32,BanDir,VIP);
DOF2_CreateFile(Vnewban);
VBanSaveInfo(playerid,Vnewban,motivo,false);
format(Vnewban,32,BanDir,VBanPlayer(giveid));
DOF2_CreateFile(Vnewban);
VBanSaveInfo(playerid,Vnewban,motivo,false);
}
Reply
#6

voce tem isso em linhas separadas ou й da formatacao do forum!
me envia a include completa por mensagem que eu ja envio corrigida para voce!
Reply
#7

ja mandei para voce
Reply
#8

meu deus cara peзo desculpa mas agora voce ajudou corrigir o vban deu este erros todo que me esta dando e nao estava dando :S que faco agora :O


pawn Код:
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\VBan.inc(590) : error 021: symbol already defined: "OnPlayerUpdate"
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\zcmd.inc(63) : error 021: symbol already defined: "SSCANF_OnGameModeInit"
C:\Users\PeinDjY\Desktop\Nova pasta (2)\pawno\include\zcmd.inc(84) : error 021: symbol already defined: "OnPlayerCommandText"
C:\Users\PeinDjY\Desktop\bph.pwn(2607) : error 021: symbol already defined: "OnVehicleSpawn"
C:\Users\PeinDjY\Desktop\bph.pwn(2766) : error 021: symbol already defined: "OnObjectMoved"
C:\Users\PeinDjY\Desktop\bph.pwn(3891) : warning 235: public function lacks forward declaration (symbol "OnPlayerGeoIP")
C:\Users\PeinDjY\Desktop\bph.pwn(4262) : error 017: undefined symbol "VTempBan"
C:\Users\PeinDjY\Desktop\bph.pwn(4358) : error 021: symbol already defined: "OnPlayerStreamIn"
C:\Users\PeinDjY\Desktop\bph.pwn(6279) : error 021: symbol already defined: "OnGameModeExit"
C:\Users\PeinDjY\Desktop\bph.pwn(6319) : error 021: symbol already defined: "OnPlayerClickPlayer"
C:\Users\PeinDjY\Desktop\bph.pwn(7834) : error 021: symbol already defined: "main"
C:\Users\PeinDjY\Desktop\bph.pwn(8136) : error 021: symbol already defined: "OnPlayerKeyStateChange"
C:\Users\PeinDjY\Desktop\bph.pwn(9993) : error 021: symbol already defined: "OnPlayerExitVehicle"
C:\Users\PeinDjY\Desktop\bph.pwn(10434) : error 021: symbol already defined: "SSCANF_OnPlayerConnect"
C:\Users\PeinDjY\Desktop\bph.pwn(11249) : error 021: symbol already defined: "SSCANF_OnPlayerDisconnect"
C:\Users\PeinDjY\Desktop\bph.pwn(11489) : warning 209: function "SSCANF_OnPlayerDisconnect" should return a value
C:\Users\PeinDjY\Desktop\bph.pwn(12351) : error 021: symbol already defined: "OnPlayerSpawn"
C:\Users\PeinDjY\Desktop\bph.pwn(12495) : error 021: symbol already defined: "Streamer_OnPlayerEnterCP"
C:\Users\PeinDjY\Desktop\bph.pwn(12906) : error 021: symbol already defined: "OnPlayerInteriorChange"
C:\Users\PeinDjY\Desktop\bph.pwn(12923) : error 021: symbol already defined: "Streamer_OnPlayerLeaveCP"
C:\Users\PeinDjY\Desktop\bph.pwn(12928) : error 021: symbol already defined: "Streamer_OnPlayerEnterRaceCP"
C:\Users\PeinDjY\Desktop\bph.pwn(13039) : error 021: symbol already defined: "Streamer_OnPlayerLeaveRaceCP"
C:\Users\PeinDjY\Desktop\bph.pwn(13044) : error 021: symbol already defined: "OnRconCommand"
C:\Users\PeinDjY\Desktop\bph.pwn(13049) : error 021: symbol already defined: "OnPlayerObjectMoved"
C:\Users\PeinDjY\Desktop\bph.pwn(13054) : error 021: symbol already defined: "OnPlayerSelectedMenuRow"
C:\Users\PeinDjY\Desktop\bph.pwn(13239) : error 021: symbol already defined: "OnPlayerExitedMenu"
C:\Users\PeinDjY\Desktop\bph.pwn(13249) : error 021: symbol already defined: "OnPlayerStateChange"
C:\Users\PeinDjY\Desktop\bph.pwn(14030) : error 021: symbol already defined: "OnPlayerRequestClass"
Reply
#9

por favor alguem me ajude
Reply
#10

continou precisando de ajuda se alguem poder ajuda me diga por favor
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)