SA-MP Forums Archive
error 001: expected token: "-string end-", but found "-identifier-" - 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)
+--- Thread: error 001: expected token: "-string end-", but found "-identifier-" (/showthread.php?tid=342955)



Remove - iGetty - 15.05.2012

Fixed.

Remove.

I had a define of Password and in an enum was Password.

/facepalm.


Re: error 001: expected token: "-string end-", but found "-identifier-" - Vince - 15.05.2012

Show some lines before and after it. As far as I can see there's nothing wrong with that.


Re: error 001: expected token: "-string end-", but found "-identifier-" - iGetty - 15.05.2012

That's what I got confused at Vince, but silly me did something. xD

I've added the fix that I did up at the top for anyone who has this error also

Thanks anyway Vince.


Re: error 001: expected token: "-string end-", but found "-identifier-" - iGetty - 15.05.2012

Thanks ******, I'll bare that in mind!

Also, I've started a vehicle system (SQL)

I want to load them, I have this currently:

pawn Код:
enum Vehicles
{
    ID,
    Model,
    Colour1,
    Colour2
};

new Vehicle[MAX_VEHICLES][Vehicles];
Where do I go from this?

Thanks!