Weird error - 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: Weird error (
/showthread.php?tid=244074)
Weird error -
Tommy_Mandaz - 26.03.2011
pawn Код:
(39315) : error 075: input line too long (after substitutions)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
This is line 39315:
This is the code near line 39315:
pawn Код:
public Random(min, max)
{
new a = random(max - min) + min;
return a;
}
Re: Weird error -
PinkFloydLover - 26.03.2011
Why don't you use "random(max);"?
Re: Weird error -
Tommy_Mandaz - 26.03.2011
What do you mean? Is that the problem?
Re: Weird error -
Zh3r0 - 26.03.2011
pawn Код:
Random( MIN, MAX )
{
new A = random( MAX - MIN) + MIN;
return A;
}
Habat nao?