SA-MP Forums Archive
Cars Problem(gamemod) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Cars Problem(gamemod) (/showthread.php?tid=200431)



Cars Problem(gamemod) - djaCido23 - 18.12.2010

Hi...I put some cars at "IsACopCar" and when i press Compile he says
pawn Код:
C:\Documents and Settings\aCid\Desktop\Zonek\gamemodes\eRP.pwn(2314) : error 075: input line too long (after substitutions)
.How can i add more cars at IsACopCar without this error?Thanks


Re: Cars Problem(gamemod) - Ash. - 18.12.2010

Show us the line, basically the line is too long for the compiler to compile...


Re: Cars Problem(gamemod) - blackwave - 18.12.2010

Quote:
Originally Posted by djaCido23
Посмотреть сообщение
Hi...I put some cars at "IsACopCar" and when i press Compile he says
pawn Код:
C:\Documents and Settings\aCid\Desktop\Zonek\gamemodes\eRP.pwn(2314) : error 075: input line too long (after substitutions)
.How can i add more cars at IsACopCar without this error?Thanks
Just put on another line. This says the lie is too big.


Re: Cars Problem(gamemod) - djaCido23 - 18.12.2010

ok...this is the line:
pawn Код:
if((carid >= 35) && (carid <= 60) || (carid >= 249) && (carid <= 259) || carid == 66 || carid == 67 || carid == 91 || carid == 92 || carid == 93 || carid == 36 || carid == 238 || carid == 239 || carid == 240 || carid == 241 || carid == 242 || carid == 243 || carid == 244 || carid == 245 || carid == 246 || carid == 247 || carid == 248 || carid == 289 || carid == 290 || carid == 291 || carid == 292 || carid == 293 || carid == 294 || carid == 295 ||carid == 296 ||carid == 297 || carid == 298 || carid == 299 || carid == 300 || carid == 301 || carid == 302)
Where i need make next line?


Re: Cars Problem(gamemod) - djaCido23 - 18.12.2010

ok...i used this:
pawn Код:
if((carid >= 35) && (carid <= 60) || (carid >= 249) && (carid <= 259) || carid == 66 || carid == 67 || carid == 91 || carid == 92 || carid == 93 || carid == 36 || carid == 238 || carid == 239 || carid == 240 || carid == 241 || carid == 242 || carid == 243 || carid == 244 || carid == 245 || carid == 246 || carid == 247 || carid == 248 || carid == 289 || carid == 290 || carid == 291 || carid == 292 || carid == 293)
    if((carid == 294 || carid == 295) || carid == 296 || carid == 297 || carid == 298 || carid == 299 || carid == 300 || carid == 301 || carid == 302)
2nd line is put by me...but any1 can enter in the car...


Re: Cars Problem(gamemod) - blackwave - 18.12.2010

pawn Код:
if((carid >= 35) && (carid <= 60) || (carid >= 249) && (carid <= 259) || carid == 66 || carid == 67 || carid == 91 || carid == 92 || carid == 93 || carid == 36 || carid == 238 || carid == 239 || carid == 240 || carid == 241 || carid == 242 || carid == 243 || carid == 244 || carid == 245 || carid == 246 || carid == 247 || carid == 248 || carid == 289 || carid == 290 || carid == 291 || carid == 292 || carid == 293)) return (...) // Returns the function
    if((carid == 294 || carid == 295) || carid == 296 || carid == 297 || carid == 298 || carid == 299 || carid == 300 || carid == 301 || carid == 302) return (...) // Returns the function