Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[General] Stop Player Names from going offscreen
#1
This will prevent Player Names from going off screen.

modText

Sub DrawPlayerName

Find
Code:
' Determine location for text
    TextX = GetPlayerX(Index) * PIC_X + Player(Index).XOffset + (PIC_X \ 2) - ((Len(GetPlayerName(Index)) / 2) * 8)
    TextY = GetPlayerY(Index) * PIC_Y + Player(Index).YOffset - (PIC_Y \ 2) - 4

Right After Add
[code]If TextY
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)