19-09-2008, 04:59 PM
This will prevent Player Names from going off screen.
modText
Sub DrawPlayerName
Find
Right After Add
[code]If TextY
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