That did the trick. Thanks for the fix!
I've been trying to draw line across the screen with:
draw_line(0,0,500,500,255,255,255)
But I always receive the error "an integer is required".
I've tried feeding it different parameter types but I just keep receiving that message. What am I doing wrong?