Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[General] Stop Player Names from going offscreen
#8
Modification to work for NPC's:

CLIENT

Look for "Sub BltNPCName", then scroll down until:

Code:
'Draw name
TextX = MapNpc(Index).X * PIC_X + MapNpc(Index).XOffset + CLng(PIC_X / 2) - ((Len(Trim$(.Name)) / 2) * 8)
TextY = MapNpc(Index).Y * PIC_Y + MapNpc(Index).YOffset - CLng(PIC_Y / 2) - 4

Then add the following directly after it:

[code]If TextY
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)