Quote:
Originally Posted by cbkbud
showtext shows an image, which the engine generates with the characters given. It isn't a GuiTextCtrl, or such, and the text can't be changed like that ...
You need to reshow the text in order for it to change.
|
No you don't. In fact, let me show you something that the engine has in it.
PHP Code:
function showtext(i, nx, ny, f, s, t) {
findimg(i).text = t;
findimg(i).x = nx;
findimg(i).y = ny;
findimg(i).font = f;
findimg(i).style = s;
}
I may have gotten some of the variable names wrong but in essence, that is all that that function is doing.