[Help] What's Wrong Here Please?!
#1

So I'm getting this Error MEssage? It was fine until i added my latest gate. This isnt the latest gate this is my first one but since i added a new one i've got this message?
Please help!



pawn Код:
//Forward
forward PDGateClose();
forward PDGate1Close();
forward ScrapClosed();
forward PrisEntClosed();
pawn Код:
public PDGateClose()
{
      MoveObject (PDGate,629.40325927734, -583.38275146484, 15.622407913208, 2.5);
     
      return 1;
}

ERROR

pawn Код:
C:\Users\Tyler Burgess\Documents\SA Servers\Own coded\gamemodes\PoleRlayTest.pwn(13) : error 001: expected token: ";", but found "forward"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Whats before:

pawn Код:
//Forward
forward PDGateClose();
forward PDGate1Close();
forward ScrapClosed();
forward PrisEntClosed();
In your script ?
Reply
#3

show the line
Reply
#4

This is the only thing before it. And like i said above it used to work :S

pawn Код:
//Gates
new PDGate;
new PDGate1;
new Scrap;
new PrisEnt
Reply
#5

pawn Код:
//Gates
new PDGate;
new PDGate1;
new Scrap;
new PrisEnt; //You were missing the ; there! Duh! =p
Just remove the comment
Reply
#6

Jesus christ..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)