error 076: syntax error in the expression, or invalid function call
#1

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

forward FBIgate();

at the top of your script.
Reply
#3

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;
}
Reply
#4

Quote:
Originally Posted by RaZvY
View Post
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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)