always show own username, fix invisible char on spawn

This commit is contained in:
2017-10-22 21:19:14 -07:00
parent 3729258931
commit 01605fa461
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -80,7 +80,7 @@ while($row = mysql_fetch_array($result)) {
$dsrcx=$dx*16-230;
$dsrcy=$dy*16-160;
if((date("U")-$thetime)<=60) {
if((date("U")-$thetime)<=60 || $row['name'] == $u) {
if($row['dir']==1) {
imageCopyMerge($im, $images['chUp'], $dsrcx +230, $dsrcy +144, 0, 0, 12, 32,100);
@@ -93,6 +93,7 @@ while($row = mysql_fetch_array($result)) {
}
//imageString($im,5, $dsrcx+230-(strlen($row['name'])*3), $dsrcy+129, ucfirst($row['name']), $black);
imageString($im,5, $dsrcx+233-(strlen($row['name'])*3)+1, $dsrcy+127+1, ucfirst($row['name']), $white);
imageString($im,5, $dsrcx+233-(strlen($row['name'])*3), $dsrcy+127, ucfirst($row['name']), $black);
}
}