[HELP] Many errors on one line. - 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: [HELP] Many errors on one line. (
/showthread.php?tid=81379)
[HELP] Many errors on one line. -
kukars22 - 10.06.2009
Hello, I was trying to compile my gamemod but I get back this:
Code:
D:\SA-MPS~1\GAMEMO~1\Gameworld.PWN(7163) : error 012: invalid function call, not a valid address
D:\SA-MPS~1\GAMEMO~1\Gameworld.PWN(7163) : warning 215: expression has no effect
D:\SA-MPS~1\GAMEMO~1\Gameworld.PWN(7163) : error 001: expected token: ";", but found ")"
D:\SA-MPS~1\GAMEMO~1\Gameworld.PWN(7163) : error 029: invalid expression, assumed zero
D:\SA-MPS~1\GAMEMO~1\Gameworld.PWN(7163) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And heres code:
Code:
FileStats(playerid)
{
new a[256];
format(a, sizeof(a), "%s.ini",udb_encode(Player(playerid)));
return a;
}
format(a, sizeof(a), "%s.ini",udb_encode(Player(playerid))); <--- this is the line wheres all errors :/
I hope someone will help me..
Re: [HELP] Many errors on one line. -
Correlli - 10.06.2009
Are you sure the error is there? Because i don't get any error if i compile your code.
Re: [HELP] Many errors on one line. -
efeX - 10.06.2009
Where's udb_encode?
And PLEASE don't use 256 strings... a player name/id would never be that long..