11.05.2014, 00:27
Pessoal alguem sabe como da pra compilar versao 2.0 PlayHard ta dando erro include vBan ja baixei e nao da
Код:
C:\Users\Diego\Desktop\3d\pawno\include\VBan.inc(41) : warning 217: loose indentation C:\Users\Diego\Desktop\3d\pawno\include\VBan.inc(43) : error 037: invalid string (possibly non-terminated string) C:\Users\Diego\Desktop\3d\pawno\include\VBan.inc(43) : warning 215: expression has no effect C:\Users\Diego\Desktop\3d\pawno\include\VBan.inc(43) : error 001: expected token: ";", but found "-identifier-" C:\Users\Diego\Desktop\3d\pawno\include\VBan.inc(43) : error 017: undefined symbol "VBan" C:\Users\Diego\Desktop\3d\pawno\include\VBan.inc(43) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код HTML:
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); 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; }