Jump to content

Counter-Strike: Global Offensive Hack
VAC Undetected

Buy Now

Rust Hack
EAC Undetected

Apply Now

Team Fortress 2 Hack
VAC Undetected

Buy Now

Counter-Strike: Source Hack
VAC Undetected

Buy Now

Garry's Mod Hack
VAC Undetected

Buy Now
Royal News
  • VAC & VACNet safe
  • Check the feedback forum to get free days added to your subscription
  • Safest hack provider since 2007
  • royalhack.net is by no mean associated with any other cheat provider
  • Beware of scammers and copies
Sign in to follow this  

GMOD Weapon's real name ESP

Recommended Posts

Most GMOD hacks uses the entity's class name for their Weapon ESP.

But that's not how I do it.

Instead of m4a1_chantico_fire it will display M4A1's Chantico's Fire, which is what we see on HUD.

The solution is simple, we have the GetPrintName() method available on CBaseCombatWeapon class.

Just get it's virtual index and you are ok.

But that will work with "default" or imported weapons from Source games (like CSS's AK47).

After debugging, you will notice that your entity class becomes CWeaponSWEP for custom weapons/items.

That class override CBaseCombatWeapon::GetPrintName()

So again, find its virtual index, and it's almost over !

Now, in your ESP loop, just check the entity class (is CBaseCombatWeapon or CWeaponSWEP) and cast accordingly, then call GetPrintName.






  • Like 2

Share this post

Link to post
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
Sign in to follow this  


Important Information

Read Terms of Use to continue