Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Call of Duty Hacks & Cheats › Call of Duty 7 - Black Ops Hacks & Cheats › Call of Duty Black Ops Coding, Programming & Source Code › Weapon & Pickup esp

Weapon & Pickup esp

Posts 1–3 of 3 · Page 1 of 1
xbeatsszzx
xbeatsszzx
Weapon & Pickup esp
Since no1 has posted this on mpgh, why not leech it?

centity_t has both required Id's:

Code:
class centity_t	
...
__int32 pickupId; //0x0280  
...
__int16 weaponId; //0x02B2 
...
My function and struct you iterate through for the names:


C
Code:
#define ENGINE_CLASS_WEAPONINFO_T 0x2AC720DCchar* CEsp::GetWeaponName(int index){	weapon_t *weapon = ( weapon_t *)(ENGINE_CLASS_WEAPONINFO_T + index * 0x24);	return (char*) weapon->weaponName;}class weapon_t{public:	char unknown0[24]; //0x0000	char* weaponName; //0x0018  	char unknown28[8]; //0x001C}; //Size=0x0024(36)
Example usage:

Code:
if (GMath.WorldToScreen(pEntity.vOrigin, &ScreenX, &ScreenY))
{
	if (Distance <= 30.0f)
	{
		switch(pEntity.eType)
		{
		case ET_MISSILE: // C4, grenades, flash etc

			if (pEntity.isAlive == 4 && pEntity.eFlag == 18)
			{
				char szItemInfo[64];
				sprintf(szItemInfo, " [%.0fm] %s ", Distance, GetWeaponName(pEntity.weaponId));
				GDraw.DrawStringExt(szItemInfo, pFont, ScreenX-(GCommon.GetTextLength(szItemInfo) * 4.555f), ScreenY, (Distance <= 8.0f ? colRed : spectator));
			}

		case ET_ITEM: // dropped weapons

			if (pEntity.isAlive == 3 && pEntity.eFlag == 2 && bPickups)
			{
				char szPickupInfo[64];
				sprintf(szPickupInfo, " [%.0fm] %s ", Distance, GetWeaponName(pEntity.pickupId));
				GDraw.DrawStringExt(szPickupInfo, pFont, ScreenX-(GCommon.GetTextLength(szPickupInfo) * 4.555f), ScreenY, spectator);
			}
		}
	}
}
Credits:
silverfish
#1 · 15y ago
geforce210
geforce210
huh where need i paste it
#2 · 15y ago
HE
heroeskiller
And what does it do?
#3 · 15y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Tags for this Thread

None