[FilterScript] jGate - Automatic Gate System
#9

Here is my errors, this is only when i try and compile with more than one gate. just one gate it works perfectly, but 2 gives me this error
Код:
C:\Documents and Settings\Owner\Desktop\PWNS\gates.pwn(36) : error 001: expected token: "}", but found "{"
C:\Documents and Settings\Owner\Desktop\PWNS\gates.pwn(37) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Here are the cords for my two gates, well the cords & bit of the script.

pawn Код:
new gData[][E_GATE_DATA] =
{
    /*
    Format as follows:

    {Model, ClosedX, ClosedY, ClosedZ, RotX, RotY, RotZ, OpenX, OpenY, OpenZ, Interior, World, Drawdistance, Radius, Speed, State (KEEP FALSE), ignorevehicle (0 = driver+onfoot, 1 = onfoot, 2 = driver), GateID (KEEP -1)}
    */




/* 35 */    {969, 1958.298461,-2190.121826,12.671833,0.000000,0.000000,361.756713, 1961.291015,-2189.990478,16.496740, 0, 0, 100.0, 10.0, 1.0, false, 2, -1} // LSAP GATE
/* 36 */    {976, 1277.453369,-1270.343261,10.386049,0.000000,0.000000,180.162322, 1277.453369,-1270.343261,9.336759, 0, 0, 100.0, 10.0, 1.0, false, 0, -1} // OLPAE CONSTRUCTIONS
};
i dont think im doing anything wrong in the script, unless i need a closing brace, but i have already tried xD

EDIT: I put the lines in that are in the error. I have everything included, ect

Thanks In Advance!
Reply


Messages In This Thread
jGate - Automatic Gate System - by Joe_ - 31.07.2010, 21:31
Re: jGate - Automatic Gate System - by Danielo - 31.07.2010, 22:56
Re: jGate - Automatic Gate System - by [XST]O_x - 31.07.2010, 23:08
Re: jGate - Automatic Gate System - by Joe_ - 01.08.2010, 10:13
Re: jGate - Automatic Gate System - by nuriel8833 - 01.08.2010, 10:28
Re: jGate - Automatic Gate System - by Joe_ - 01.08.2010, 21:53
Re: jGate - Automatic Gate System - by Joe_ - 02.08.2010, 20:22
Re: jGate - Automatic Gate System - by Scenario - 04.08.2010, 14:34
Re: jGate - Automatic Gate System - by Hal - 05.08.2010, 04:04
Re: jGate - Automatic Gate System - by Joe_ - 05.08.2010, 09:48

Forum Jump:


Users browsing this thread: 1 Guest(s)