SA-MP Forums Archive
[Ajuda] Erro ao compilar - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erro ao compilar (/showthread.php?tid=536906)



Erro ao compilar - kauanmota - 12.09.2014

Tava editando uma gm e veio esse erro

PHP код:
C:\Users\Kauan\Desktop\grpae Cуpia\Gamemodes\BPC.pwn(56100) : error 075input line too long (after substitutions
Quote:

}
format(string3, sizeof(string3), "IPsBanidos/%s.ini", ip);
if(dini_Exists(string3))
{
ClearChatbox(playerid, 10);
strmid(InfoVinny[playerid][pMotivo], dini_Get(string3,"Motivo"), 0, strlen(dini_Get(string3,"Motivo")), 255);
strmid(InfoVinny[playerid][pAdmBan], dini_Get(string3,"Admin"), 0, strlen(dini_Get(string3,"Admin")), 255);
strmid(InfoVinny[playerid][pData], dini_Get(string3,"Data"), 0, strlen(dini_Get(string3,"Data")), 255);
strmid(InfoVinny[playerid][pHora], dini_Get(string3,"Hora"), 0, strlen(dini_Get(string3,"Hora")), 255);
strmid(InfoVinny[playerid][pNick], dini_Get(string3,"Nick"), 0, strlen(dini_Get(string3,"Nick")), 255);
SendClientMessage(playerid, COLOR_WHITE, "|_______________ Informaзхes do Ban _______________|");
format(string, sizeof(string), "Seu IP:[%s] estб Banido do {00FF40}Brasil {FFD700}Play{1E90FF}Pika", ip);
SendClientMessage(playerid, COLOR_LIGHTRED, string);
if(strcmp(InfoVinny[playerid][pNick],"", true ) == 0)
{
format(string, sizeof(string), "Admin: %s", InfoVinny[playerid][pAdmBan]);
}
else
{
format(string, sizeof(string), "Admin: %s, Nick Fake: %s", InfoVinny[playerid][pAdmBan], InfoVinny[playerid][pNick]);
}

SendClientMessage(playerid,COLOR_YELLOW,"Atenзгo: Vocк sу serб desbanido caso for inocente !");
format(string,sizeof(string),"{FF8080}Brasil StartForever - Conta Banida\n\n\n{FF8000}Conta:{00FF00} %s\n\n{FF8000}IP: {00FF00}%s\n\n{FF8000}Admin: {00FF00}%s\n\n{FF8000}Motivo: {00FF00}%s \n\n{FF8000}Data:{00FF00} %s \n\n{FF8000}Hora:{00FF00} %s\n\n{FFFFFF}Se Vocк acha que isto й um erro,Faзa Revisгo \n\n{00ECEC}******** www.BrasilStartForever.com.br ********",PlayerName(playerid),ip,InfoVinny[playerid][pAdmBan],InfoVinny[playerid][pMotivo],InfoVinny[playerid][pData],InfoVinny[playerid][pHora]);
ShowPlayerDialog(playerid,1339,DIALOG_STYLE_MSGBOX ,"{8080FF}Conta Banida Deste Servidor", string, "Sair","");
Kick(playerid);
}
return 1;
}
return 1;

ME AJUDEM RAPIDO PF


Re: Erro ao compilar - FallweN - 12.09.2014

pawn Код:
format(string,sizeof(string),"{FF8080}Brasil StartForever - Conta Banida\n\n\n{FF8000}Conta:{00FF00} %s\n\n{FF8000}IP: {00FF00}%s\n\n{FF8000}Admin: {00FF00}%s\n\n{FF8000}Motivo: {00FF00}%s \n\n{FF8000}Data:{00FF00} %s \n\n{FF8000}Hora:{00FF00} %s\n\n{FFFFFF}Se Vocк acha que isto й um erro,Faзa Revisгo \n\n{00ECEC}******** http://www.BrasilStartForever.com.br ********",PlayerName(playerid),ip,InfoVinny[playerid][pAdmBan],InfoVinny[playerid][pMotivo],InfoVinny[playerid][pData],InfoVinny[playerid][pHora]);
Essa linha estб muito longa. use Strcat para dividi-la.