Any one able to find a helpful tutorial on using the paintutils API?? I cant seem to be able to use them to well, specifically ,i get the error : paintutils : 46 : bad argument : double expected, got nil.
I was using the paintutils.drawLine() so would this mean i made a no-no in the parameters?
Thanks
[PaintUtils] Useful tutorial or how to?
Started by Stormkrow, Nov 14 2012 06:07 PM
3 replies to this topic
#1
Posted 14 November 2012 - 06:07 PM
#2
Posted 14 November 2012 - 06:15 PM
function drawLine( startX, startY, endX, endY, nColour )Do you have all required parameters?
#3
Posted 14 November 2012 - 08:19 PM
Ahhhh there we go!!! Works fine now
/> The help API for paintutils didnt mention the end parameters ;/ weird, anyway thanks!
#4
Posted 14 November 2012 - 11:01 PM
Haha, cool.
When you get an error which involves an API, go check that function in the API and check what parameters it needs.
When you get an error which involves an API, go check that function in the API and check what parameters it needs.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











