Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

Name ESP + Weapon ESP

Open TheNotoriousAWP opened this issue 7 years ago • 3 comments

Hello, I am writing to ask you if you could add a name and weapon esp to the cheat as I believe it's less obnoxious compared to the glow esp. I have come up with a little bit of code that would work with the current source code of the cheat but I don't know if it is correct and how to implement it properly; it is written in the same style:

void Visuals::Name() noexcept
{
	if (config.esp.name && interfaces.engine->isInGame())
	{
		for (int i = 1; 1 <= interfaces.engine->getMaxClients(); i++)
		{
			auto entity = interfaces.entityList->getEntity(i);
			
			if (!entity || entity->isAlive() || entity->isDormant && entity->isEnemy)
				continue;

			static PlayerInfo playerInfo;

			auto info = interfaces.engine->getPlayerInfo(i, playerInfo);

			auto size = CalcTextSizeA(14.f, FLT_MAX, 0.0f, playerInfo.name);

		}
	}

}

TheNotoriousAWP avatar Mar 15 '19 17:03 TheNotoriousAWP

I am suggesting a feature? it isn't invalid..

TheNotoriousAWP avatar Mar 15 '19 22:03 TheNotoriousAWP

Duplicate #61

danielkrupinski avatar Mar 15 '19 23:03 danielkrupinski

is my code at all useful?

TheNotoriousAWP avatar Mar 16 '19 01:03 TheNotoriousAWP