[Help] What's Wrong Here Please?! - 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: [Help] What's Wrong Here Please?! (
/showthread.php?tid=242994)
[Help] What's Wrong Here Please?! -
BurgessGaming - 21.03.2011
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.
Re: [Help] What's Wrong Here Please?! -
Stigg - 21.03.2011
Whats before:
pawn Код:
//Forward
forward PDGateClose();
forward PDGate1Close();
forward ScrapClosed();
forward PrisEntClosed();
In your script ?
Re: [Help] What's Wrong Here Please?! -
Marricio - 21.03.2011
show the line
Re: [Help] What's Wrong Here Please?! -
BurgessGaming - 21.03.2011
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
Re: [Help] What's Wrong Here Please?! -
s0nic - 21.03.2011
pawn Код:
//Gates
new PDGate;
new PDGate1;
new Scrap;
new PrisEnt; //You were missing the ; there! Duh! =p
Just remove the comment
Re: [Help] What's Wrong Here Please?! -
Steven82 - 21.03.2011
Jesus christ..