vHere is what have been able to come up with, but im still wondering, is there any way to check if the player is staff and if so make their name gold? iv managed to achieve this clientside but not serverside, meaning it only displays as gold to your self.
PHP Code:
//#CLIENTSIDE
function onCreated() {
onTimeOut();
}
function onTimeOut() {
hideimg(201 + a);
hideimg(202 + a);
for (a = 0; a < playerscount; a++) {
showtext(201 + a, players[a].x + 1.5, players[a].y + 3.2, "Arial Bold", "c", @players[a].nick);
changeimgcolors(201 + a, 1, 1, 1, 1);
changeimgvis(201 + a, 1);
changeimgzoom(201 + a, 1);
showtext(202 + a, players[a].x + 1.5, players[a].y + 4.5, "Arial Bold", "c", @players[a].hearts@"/"@players[a].maxhp);
changeimgcolors(202 + a, 1, 0.1, 0.1, 1);
changeimgvis(202 + a, 1);
changeimgzoom(202 + a, 0.8);
}
setTimer(0.05);
}