I'm trying to code the nickname system for Delteria, and I'm having some issues with finding the height and width for the text when using
findimg();
I'm trying to stretch an image to the width and height of the text, but using
findimg(id).width or
findimg(id).height doesn't give me any values. Is there a way to get the width and height?
PHP Code:
with(findimg(1)) {
text = player.nick;
zoom = 0.75;
x = player.x;
y = player.y;
}
If I echo
findimg(1).width, it gives me 0;