Toribash
Prev Previous Post   Next Post Next
Original Post
Shouldn't this work?
font_type = FONTS.SMALL

function mytestmess(str, pos)
    draw_centered_text(str, pos, font_type)
end

add_hook ("new_game", "test", mytestmess("Kool-Aid man says: Oooh Yeah!", 100))
add_hook ("joint_select", "test", mytestmess("You like selecting joints?", 100))
add_hook ("enter_frame", "test", mytestmess("Next frame, please!", 100))
Shouldn't the above code work? I don't get any errors, but no text appears. Also, I can't find the stderr.txt anywhere...