Small stupid error
#6

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
Reply


Messages In This Thread
Small stupid error - by Tachibana - 28.06.2011, 06:27
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 06:30
Re: Small stupid error - by Tachibana - 28.06.2011, 06:33
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 06:36
JaTochNietDan - by Tachibana - 28.06.2011, 06:37
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 07:40
Re: Small stupid error - by Tachibana - 28.06.2011, 07:42
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 07:47
Re: Small stupid error - by Tachibana - 28.06.2011, 07:49
Re: Small stupid error - by JaTochNietDan - 28.06.2011, 07:52

Forum Jump:


Users browsing this thread: 4 Guest(s)