Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bloated PlayerRec?
#1
Code:
Type PlayerRec
    ' General
    Name As String * NAME_LENGTH
    Sex As Byte
    Class As Byte
    Sprite As Integer
    Level As Byte
    Exp As Long
    Access As Byte
    PK As Byte
    Warn As Byte
    Bounty As Long
    IsMuted As Boolean
    Kills As Long
    NPCKills As Long

Would you consider this bloated? Can this slow down MS4? If so, how drastically? Any work arounds?
Reply
#2
Do all the vars * MAX_PLAYERS and you know exactly how much memory it uses.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)