SA-MP Forums Archive
[Ajuda] Erro - 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 (/showthread.php?tid=226076)



[Ajuda] Erro - Jorge_Hard - 14.02.2011

Olha eu denovo rsrs.

Entao gente ta dando um erro.

Comando.

Quote:

//FACARS
if(IsPlayerInVehicle(playerid,FaCars[0])||IsPlayerInVehicle(playerid,FaCars[1])||IsPlayerInVehicle(playerid,FaCars[2])||IsPlayerInVehicle(playerid,FaCars[3])||IsPlayerInVehicle(playerid,FaCars[4])||IsPlayerInVehicle(playerid,FaCars[5])||IsPlayerInVehicle(playerid,FaCars[6])||IsPlayerInVehicle(playerid,FaCars[7])||IsPlayerInVehicle(playerid,FaCars[8])||IsPlayerInVehicle(playerid,FaCars[9])||IsPlayerInVehicle(playerid,FaCars[10])||IsPlayerInVehicle(playerid,FaCars[11])||IsPlayerInVehicle(playerid,FaCars[12])||IsPlayerInVehicle(playerid,FaCars[13])||IsPlayerInVehicle(playerid,FaCars[14])||IsPlayerInVehicle(playerid,FaCars[15])||IsPlayerInVehicle(playerid,FaCars[16])||IsPlayerInVehicle(playerid,FaCars[17])||IsPlayerInVehicle(playerid,FaCars[18])||IsPlayerInVehicle(playerid,FaCars[19]))
{
if(PlayerInfo[playerid][pMember] != 3 || PlayerInfo[playerid][pLeader] != 3)
{
SendClientMessage(playerid,COLOR_RED,"Vocк nгo й um Oficial das Forзas Armadas!!!!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}

Codigo meio grande mesmo rsrs tem 20 carros mais esse erro nao to conseguindo arrumar
Erro.

Quote:

C:\Users\Jorge\Desktop\SAMP 0.3c\gamemodes\BBG3.pwn(17064) : error 075: input line too long (after substitutions)

Se alguem puder >D Agradeзo


Re: [Ajuda] Erro - Baddark2131 - 14.02.2011

pawn Код:
if(IsPlayerInAnyVehicle(playerid,FaCars[0])||IsPlayerInAnyVehicle(playerid,FaCars[1])||IsPlayerInAnyVehicle(playerid,FaCars[2])||IsPlayerInAnyVehicle(playerid,FaCars[3])||IsPlayerInAnyVehicle(playerid,FaCars[4])||IsPlayerInAnyVehicle(playerid,FaCars[5])||IsPlayerInAnyVehicle(playerid,FaCars[6])||IsPlayerInAnyVehicle(playerid,FaCars[7])||IsPlayerInAnyVehicle(playerid,FaCars[8])||IsPlayerInAnyVehicle(playerid,FaCars[9])||IsPlayerInAnyVehicle(playerid,FaCars[10])||IsPlayerInAnyVehicle(playerid,FaCars[11])||IsPlayerInAnyVehicle(playerid,FaCars[12])||IsPlayerInAnyVehicle(playerid,FaCars[13])||IsPlayerInAnyVehicle(playerid,FaCars[14])||IsPlayerInAnyVehicle(playerid,FaCars[15])||IsPlayerInAnyVehicle(playerid,FaCars[16])||IsPlayerInAnyVehicle(playerid,FaCars[17])||IsPlayerInAnyVehicle(playerid,FaCars[18])||IsPlayerInAnyVehicle(playerid,FaCars[19]))
{
if(PlayerInfo[playerid][pMember] != 3)
{
SendClientMessage(playerid,COLOR_RED,"Vocк nгo й um Oficial das Forзas Armadas!!!!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
@nemli


Re: [Ajuda] Erro - Macintosh - 14.02.2011

pawn Код:
if(IsPlayerInVehicle(playerid,FaCars[0])||IsPlayerInVehicle(playerid,FaCars[1])|| IsPlayerInVehicle(playerid,FaCars[2])||IsPlayerInVehicle(playerid,FaCars[3])||
   IsPlayerInVehicle(playerid,FaCars[4])||IsPlayerInVehicle(playerid,FaCars[5])||IsPlayerInVehicle(playerid,FaCars[6])||IsPlayerInVehicle(playerid,FaCars[7])||
   IsPlayerInVehicle(playerid,FaCars[8])||IsPlayerInVehicle(playerid,FaCars[9])||IsPlayerInVehicle(playerid,FaCars[10])||IsPlayerInVehicle(playerid,FaCars[11])||
   IsPlayerInVehicle(playerid,FaCars[12])||IsPlayerInVehicle(playerid,FaCars[13])||IsPlayerInVehicle(playerid,FaCars[14])||IsPlayerInVehicle(playerid,FaCars[15])||
   IsPlayerInVehicle(playerid,FaCars[16])||IsPlayerInVehicle(playerid,FaCars[17])||IsPlayerInVehicle(playerid,FaCars[18])||IsPlayerInVehicle(playerid,FaCars[19]))
{
if(PlayerInfo[playerid][pMember] != 3 || PlayerInfo[playerid][pLeader] != 3)
{
SendClientMessage(playerid,COLOR_RED,"Vocк nгo й um Oficial das Forзas Armadas!!!!");
RemovePlayerFromVehicle(playerid);
TogglePlayerControllable(playerid, 1);
}
}
A linha estб longa ^^


Re: [Ajuda] Erro - ManoLexuS - 14.02.2011

Esse erro ocorre quando o Pawn nгo consegue compilar quando hб muita coisa em uma unica linha. A linha й muito grande, tente "quebrando" ela.
Por exemplo:
pawn Код:
if(IsPlayerInAnyVehicle(playerid,FaCars[0])
||IsPlayerInVehicle(playerid,FaCars[1])
E assim por diante.
Espero ter ajudado.


Re: [Ajuda] Erro - Jorge_Hard - 14.02.2011

Vo tenta vlws kk nem sabia disso - pawn chato auhsauhsa

@Edit Vlws pego auhsuhasu kk ses desse forum sao os fodoes


Re: [Ajuda] Erro - Macintosh - 14.02.2011

quem dera...


Re: [Ajuda] Erro - Kruger - 14.02.2011

KKKK Ele Nao Viu Os Gringos Ainda '-'


Re: [Ajuda] Erro - Macintosh - 14.02.2011

E os brasileiros extintos aasihasiuahsauisas


Re: [Ajuda] Erro - Kruger - 15.02.2011

Noooovidadee '-'


Re: [Ajuda] Erro - Macintosh - 15.02.2011

Nem й novidade '-'..
Em 2009 ainda existia mais hoje sу tem programador noob como eu,Knife,etc...
Ainda tem BR que owna
DraKINs,Pappet,Garfield,blackwave,Flбvio Toribio, entre outros ...
#indodurmir :* Fui atй amanhг *-*'