Quote:
Originally Posted by Tachibana
lol thanks xD anyways Why did it say it is like 334 when it was like 333? stupid pawn
|
It's actually completely logical, it's looking for the semi-colon in the next space in code, which is on line 334. So then instead of the required semi-colon it finds "if" on line 334, so line 334 is where the error actually occurs. If you want it to show the error on line 333 then simply put the next bit of code on line 333
Also as regards to your second part of code, why do you make 3 new variables to deal with the x,y,z? Just make a multi-dimensional array and it would be a lot cleaner, for example:
pawn Код:
new Float:checkpoints[2][3] = {
{x,y,z},
{x,y,z}
};
Edit: Finally after scanning through it, the reason there is an error is because you have a value in there that is not a valid float, the value you have that is causing the error is: 176.932034.9148