10.06.2009, 15:04
Hello, I was trying to compile my gamemod but I get back this:
And heres code:
format(a, sizeof(a), "%s.ini",udb_encode(Player(playerid))); <--- this is the line wheres all errors :/
I hope someone will help me..
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.
Code:
FileStats(playerid) { new a[256]; format(a, sizeof(a), "%s.ini",udb_encode(Player(playerid))); return a; }
I hope someone will help me..