13.03.2014, 17:47
Eu tava utilizando a include quando comeзou da esse erros:
A include foi re-baixada agora no tуpico do ViniBorn
https://sampforum.blast.hk/showthread.php?tid=294569
Mas os erros continuam ...
pawn Код:
C:\Users\User\Documents\Leonardo R\New server noiz dois\brasil_play_fortes\Brasil Play\pawno\include\VBan.inc(43) : error 037: invalid string (possibly non-terminated string)
C:\Users\User\Documents\Leonardo R\New server noiz dois\brasil_play_fortes\Brasil Play\pawno\include\VBan.inc(43) : warning 215: expression has no effect
C:\Users\User\Documents\Leonardo R\New server noiz dois\brasil_play_fortes\Brasil Play\pawno\include\VBan.inc(43) : error 001: expected token: ";", but found "-identifier-"
C:\Users\User\Documents\Leonardo R\New server noiz dois\brasil_play_fortes\Brasil Play\pawno\include\VBan.inc(43) : error 017: undefined symbol "VBan"
C:\Users\User\Documents\Leonardo R\New server noiz dois\brasil_play_fortes\Brasil Play\pawno\include\VBan.inc(43) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
https://sampforum.blast.hk/showthread.php?tid=294569
Mas os erros continuam ...
pawn Код:
stock VBanID(playerid,giveid,motivo[])
{
format(NICKBAN,20,VBanPlayer(giveid));
if(playerid > -1)
{
format(Vstring,128,"'- VBan -' O jogador %s foi banido por %s. Motivo:
%s",VBanPlayer(giveid),VBanPlayer(playerid),motivo); // linha 43
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);
}
else
{
format(Vnewban,32,BanDir,VBanPlayer(giveid));
format(Vstring,128,"'- VBan -' O jogador %s foi banido por VBot Admin(%s). Motivo:
%s",VBanPlayer(giveid),DOF2_GetString(Vnewban,"Admin"),motivo);
SendClientMessageToAll(CorBan,Vstring);
DOF2_CreateFile(Vnewban);
VBanSaveInfo(-1,Vnewban,motivo,false);
}
if(IsPlayerConnected(giveid))
VBanLoadInfo(giveid,Vnewban);
SetTimerEx("VBKick",300, false, "i", giveid);
return 1;
}