After following the above, remove the color.
0,0,0 will be black and therefore possibly invisible or no color.
try just; TextCenterOnX(50,50,3,"Text")
But if you want black, okay. Color -- just put in higher rbg values.
So in summary, add what smallg posted to your first part, minus the exit part.
Everything lower case in the init and main line.
function displaytext_init(e)
end
function displaytext_main(e)
TextCenterOnX(50,50,3,"Text")
end