error 076: syntax error in the expression, or invalid function call - 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: error 076: syntax error in the expression, or invalid function call (
/showthread.php?tid=136675)
error 076: syntax error in the expression, or invalid function call -
RaZvY - 26.03.2010
my game mod give me 1
Code:
error 076: syntax error in the expression, or invalid function call
PWN CODE
Code:
public fbgt()
{
MoveObject(FBIGate,310.303253, -1555.700439, 31.081642,2);
return 1;
}
pls help me!
Re: error 076: syntax error in the expression, or invalid function call -
NiiRV4N4 - 26.03.2010
forward FBIgate();
at the top of your script.
Re: error 076: syntax error in the expression, or invalid function call -
RaZvY - 26.03.2010
Quote:
Originally Posted by NiiRV4N4
forward FBIgate();
at the top of your script.
|
Code:
C:\Documents and Settings\Razvy\Desktop\game mod de la gz\qw.pwn(35882) : error 021: symbol already defined: "FBIgate"
C:\Documents and Settings\Razvy\Desktop\game mod de la gz\qw.pwn(35885) : error 010: invalid function or declaration
PWN LINE et 35882 to 35886
Code:
public FBIgate();
{
MoveObject(FBIGate,310.303253, -1555.700439, 31.081642,2);
return 1;
}
Re: error 076: syntax error in the expression, or invalid function call -
Joey Tucker - 09.08.2011
Quote:
Originally Posted by RaZvY
Code:
public FBIgate();
{
MoveObject(FBIGate,310.303253, -1555.700439, 31.081642,2);
return 1;
}
|
1. use [pawn] tags
2. public FBIgate(); <- Remove semicolon (' ; ')
pawn Code:
public FBIgate()
{
MoveObject(FBIGate,310.303253, -1555.700439, 31.081642,2);
return 1;
}