SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 10/06/2009, 03:04 PM   #1
Big Clucker
Join Date: Apr 2008
Posts: 152
Reputation: 0
Default [HELP] Many errors on one line.

Hello, I was trying to compile my gamemod but I get back this:

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 (c) 1997-2006, ITB CompuPhase

4 Errors.
And heres code:

  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..
kukars22 is offline  
Old 10/06/2009, 05:14 PM   #2
Correlli's Avatar
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: [HELP] Many errors on one line.

Are you sure the error is there? Because i don't get any error if i compile your code.
Correlli is offline  
Old 10/06/2009, 06:10 PM   #3
Big Clucker
Join Date: Jun 2009
Posts: 64
Reputation: 0
Default Re: [HELP] Many errors on one line.

Where's udb_encode?

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
7 errors on one line Manku Help Archive 1 13/09/2009 02:47 PM
4 errors on one line Manku Help Archive 3 13/09/2009 02:30 PM
4 Errors in a Line,where its impossible Trooper[Y] Help Archive 2 09/04/2009 10:32 PM
Shows Errors but no errors in this line Kane_Phoenix Help Archive 2 31/03/2009 02:38 PM

All times are GMT. The time now is 01:41 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.