Can you post line 89 of the code? A few lines before and after would be good too :>
hi guys -
this is lifted, as is, from the code...
function LevelDraw() -- draws box/button for switching rallypoint on or off
scale = GetCameraZoom()
xpos = -GetCameraX()
ypos = -GetCameraY()
DrawLine(xpos + (300)*scale, ypos + 300*scale, xpos + (350)*scale, ypos + (300)*scale, 0,0,0,0.99,0,0,0,0.99,3*scale) --draws top line of box
DrawLine(xpos + (300)*scale, ypos + 350*scale, xpos + (350)*scale, ypos + (350)*scale, 0,0,0,0.99,0,0,0,0.99,3*scale) --draws bottom line of box
DrawLine(xpos + (300)*scale, ypos + 300*scale, xpos + (300)*scale, ypos + (350)*scale, 0,0,0,0.99,0,0,0,0.99,3*scale) --draws left side of box
DrawLine(xpos + (350)*scale, ypos + 300*scale, xpos + (350)*scale, ypos + (350)*scale, 0,0,0,0.99,0,0,0,0.99,3*scale) --draws right side of box
end
the camera zoom() is line 89.
now, i know sometimes it comes up with messages about a particular line not being finished, which then requires something like another 'end' further down the code. but the error message just says about line 89. anything more than that im not sure.
thanks foir looking. and i wonder why it is that the same code works for some but not others?