How do I ask for my class? menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I ask for my class?

    Hi. Anyone knows how do I return the hero class I am currently playing?
    I want to have this code in one of my plugins:
    PHP Code:
    if (the hero im playing is DH)
    {
         
    // do something
    }
    else
    {
         
    // do something else

    unfortunately Hud.Game.Me.HeroClassDefinition.HeroClass.DemonHunter does not work

    How do I ask for my class?
  2. #2
    JackCeparou's Avatar Savvy ? 🐒
    Reputation
    534
    Join Date
    Mar 2017
    Posts
    588
    Thanks G/R
    51/490
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    if (Hud.Game.Me.HeroClassDefinition.HeroClass == HeroClass.DemonHunter

         
    // do something 

    else 

         
    // do something else 

    Hide the Rum! --> Default theme customization 101 <--

  3. Thanks Csavo (1 members gave Thanks to JackCeparou for this useful post)
  4. #3
    Csavo's Avatar Active Member
    Reputation
    30
    Join Date
    Mar 2017
    Posts
    121
    Thanks G/R
    17/29
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much!

Similar Threads

  1. [Selling] Want to know how to sell, and what to ask for my account.
    By not4addict in forum World of Warcraft Buy Sell Trade
    Replies: 2
    Last Post: 02-21-2011, 06:35 AM
  2. Replies: 33
    Last Post: 12-28-2007, 10:44 PM
  3. Guide for your class in an instance!
    By Bossman4 in forum World of Warcraft Guides
    Replies: 5
    Last Post: 10-28-2006, 03:39 PM
  4. How to farm ZG for dolls
    By Matt in forum World of Warcraft Guides
    Replies: 7
    Last Post: 05-12-2006, 06:19 PM
All times are GMT -5. The time now is 02:55 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search