[HELP] Many errors on one line.
#1

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..
Reply
#2

Are you sure the error is there? Because i don't get any error if i compile your code.
Reply
#3

Where's udb_encode?

And PLEASE don't use 256 strings... a player name/id would never be that long..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)