SA-MP Forums Archive
input line too long (after substitutions) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: input line too long (after substitutions) (/showthread.php?tid=423208)



input line too long (after substitutions) - Eminem 2ka9 - 17.03.2013

I'm guessing this was caused be cause the below line is too big.
pawn Код:
else if(checkpointid == BigEarCP || checkpointid ==  TeeMotelCP || checkpointid ==  OilCP || checkpointid ==  SeaCP || checkpointid ==  HillCP || checkpointid ==  DamCP || checkpointid ==  DeserttownCP || checkpointid ==  RanchCP || checkpointid ==  CluckinBellCP || checkpointid ==  GasstationCP || checkpointid ==  ProbeinnCP || checkpointid ==  SiloCP || checkpointid ==  RoundtowerCP || checkpointid ==  Gasstation2CP || checkpointid ==  WeirdbuildingCP || checkpointid ==  Deserttown3CP)



Re: input line too long (after substitutions) - LarzI - 17.03.2013

Yes. Just make new lines

Edit: like so:

pawn Код:
else if(checkpointid == BigEarCP || checkpointid ==  TeeMotelCP ||
checkpointid ==  OilCP || checkpointid ==  SeaCP || checkpointid ==  HillCP ||
checkpointid ==  DamCP || checkpointid ==  DeserttownCP || checkpointid ==  RanchCP ||
checkpointid ==  CluckinBellCP || checkpointid ==  GasstationCP || checkpointid ==  ProbeinnCP ||
checkpointid ==  SiloCP || checkpointid ==  RoundtowerCP || checkpointid ==  Gasstation2CP ||
checkpointid ==  WeirdbuildingCP || checkpointid ==  Deserttown3CP)