You can change the color in findimg, with the variables: red, green, blue
I.e:
PHP Code:
with (findimg(1)) {
text = player.nick;
x = player.x + 1.5;
y = player.y + 3;
layer = 1; // Play around with this, to determine where it draws anything.
red = 1;
green = 0;
blue = 0;
}
However I would suggest you take a different route with your nickname script, and this would be for better as players would be able to disable them and such as.
PHP Code:
//#CLIENTSIDE
function onCreated() {
setTimer(0.05);
}
function onTimeout() {
hideimgs(200, 1000); // This will need to be re-optimized as hiding then redrawing every frame is bad :(
drawNicknames();
}
function drawNicknames() {
// Loop through Players
for (temp.p: players) {
// Draw Text under Player
with (findimg(200 + temp.p.id)) {
x = temp.p.x + 1.5;
y = temp.p.y + 3;
style = "bc";
text = temp.p.nick;
}
}
}
I didn't include the enablefeatures part of the script because I assume you already know how to use it, also I noticed you deleted your thread when you had your problem fixed. Don't do that!