Results 1 to 6 of 6
  1. #1
    qq214620428's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    4

    Red face How to get the names of yourself and your enemies?

    Hello, everyone. I have been studying in MPGH. Now I have a problem. I want to get my name and enemy's name, but I can't find any information about it. Any help will be appreciated!

  2. #2
    tiagoro987's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    you can do it like this:
    Code:
    PlayerInfo_t info = PlayerInfo {};
    VClientEngine->GetPlayerInfo( index, &info );
    auto player_name = info.szName;

  3. #3
    I love myself
    나도 너를 사랑해

    Former Staff
    Premium Member
    Jhem's Avatar
    Join Date
    Mar 2012
    Gender
    male
    Location
    167,646,447
    Posts
    5,093
    Reputation
    1220
    Thanks
    7,321
    My Mood
    Stressed
    Is your cheat, internal or external?.
    Please don't add me to ask some basic questions about MPGH and how it works.
    MPGH's Rules | Marketplace | How IM works | Report Scam Attempt







  4. #4
    agentsix1's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    11
    Quote Originally Posted by tiagoro987 View Post
    you can do it like this:
    Code:
    PlayerInfo_t info = PlayerInfo {};
    VClientEngine->GetPlayerInfo( index, &info );
    auto player_name = info.szName;
    I want to point out that this tidbit of code is not helpful at all in the slightest...

  5. #5
    defaulto's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    456
    Reputation
    390
    Thanks
    302
    My Mood
    Angelic
    Quote Originally Posted by agentsix1 View Post
    I want to point out that this tidbit of code is not helpful at all in the slightest...
    Agree. xD
    I would suggest looping trough the Entity List? How you should make it depends on your answer to Jhem's Question.

    #LOGS
    12-02-2020 ⌨ [MPGH]defaulto got gifted the Premium Membership from [MPGH]Azuki - sponsored by [MPGH]Flengo.
    27-11-2019 ⌨ [MPGH]defaulto captured the GFX Team Base together with [MPGH]Howl & [MPGH]Poonce.
    08-14-2017 ⌨ defaulto joined the game.

  6. #6
    qq214620428's Avatar
    Join Date
    Jun 2017
    Gender
    male
    Posts
    43
    Reputation
    10
    Thanks
    4
    Quote Originally Posted by Jhem View Post
    Is your cheat, internal or external?.
    My cheating is external

    - - - Updated - - -

    Thank you very much for your answer, although it did not solve the problem.

    - - - Updated - - -

    Quote Originally Posted by tiagoro987 View Post
    you can do it like this:
    Code:
    PlayerInfo_t info = PlayerInfo {};
    VClientEngine->GetPlayerInfo( index, &info );
    auto player_name = info.szName;
    I want to know exactly what offsets "GetPlayerInfo" reads

Similar Threads

  1. [Help] how to get the offset which name is radarname and Enitysize?
    By tttttz in forum Counter Strike: Global Offensive Coding & Resources
    Replies: 3
    Last Post: 04-28-2016, 02:49 AM
  2. How to get tons of exp and gold and get the blade of awe and the dragon slayer blade
    By beritzi in forum Adventure Quest (AQ) Hacks / Cheats / Trainers
    Replies: 1
    Last Post: 08-20-2013, 05:45 PM
  3. Replies: 4
    Last Post: 06-02-2013, 09:04 PM
  4. Replies: 8
    Last Post: 02-22-2010, 11:25 PM
  5. How to get the Speed and Weapon Hack to work (PUB)
    By Black0ut077 in forum CrossFire Hacks & Cheats
    Replies: 8
    Last Post: 10-14-2009, 05:32 PM

Tags for this Thread