Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[VB6] How do I check if player is in a guild?


GalacticGlum
 Share

Recommended Posts

@[member="Abhi"] I didn't fix it :(

Here is my "PlayerRec"

```

Private Type PlayerRec
    ' General
    name As String
    Class As Long
    Sprite As Long
    Level As Byte
    EXP As Long
    Access As Byte
    PK As Byte
    ' Admins
    Visible As Long
    ' Vitals
    Vital(1 To Vitals.Vital_Count - 1) As Long
    MaxVital(1 To Vitals.Vital_Count - 1) As Long
    ' Stats
    Stat(1 To Stats.Stat_Count - 1) As Byte
    POINTS As Long
    ' Worn equipment
    Equipment(1 To Equipment.Equipment_Count - 1) As Long
    ' Position
    Map As Long
    x As Byte
    y As Byte
    Dir As Byte
    PlayerQuest(1 To MAX_QUESTS) As PlayerQuestRec
    ' Spawn location
    Spawn As PlayerSpawnRec
    ' Combat
    Combat(1 To MAX_COMBAT) As CombatRec
    ' Client use only
    xOffset As Integer
    yOffset As Integer
    Moving As Byte
    Attacking As Byte
    AttackTimer As Long
    MapGetTimer As Long
    Step As Byte
    EventTimer As Long
    StartFlash As Long
    ' Guild
    GuildName As String
    GuildTag As String
    GuildColor As Integer

    'NEW Everything below is new
    'Walkthrough
    Walkthrough As Boolean

    'Follow feature
    Follower As Long

    'Skills
    Skills() As SkillRec

    'Friends
    Friends As FriendRec

    'Projectiles
    ProjecTile(1 To MAX_PLAYER_PROJECTILES) As ProjectileRec

    ' Hair
    Hair As Long
    HairTint As Long
End Type
```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...