[PolyHack] Bomb State /Timer

Posts 1–5 of 5 · Page 1 of 1
[PolyHack] Bomb State /Timer
Hello!

I have a request is there anybody who is able to write a bomb hack for polyhacks with 1 of them features if possible

Glow Bomb or Bomb Timer or Bomb is planted A or B ? is this possible in polyhack? and if might somebody is so kind and share the source here then
Not gonna spoon-feed working code, but the bomb is on the entity list. Class name "DT_PlantedC4", I dont remember the ID exactly but it is something near the hundreds (101 or 103 IIRC).

Here's how you can do it (internally):

Code:
for( int i = 0; i < SDK::Interfaces::g_pEntityList->GetHighestEntityIndex(); i++ ) {
	SDK::IClientEntity* pEntity = SDK::Interfaces::g_pEntityList->GetClientEntity( i );

	if( pEntity && pEntity->GetClientClass()->m_ClassID == <class id here> ){
		//Apply glow
	}
}
Of course, you want to do it externally so it's gonna be somewhat different.
Quote Originally Posted by MarkHC View Post
Not gonna spoon-feed working code, but the bomb is on the entity list. Class name "DT_PlantedC4", I dont remember the ID exactly but it is something near the hundreds (101 or 103 IIRC).

Here's how you can do it (internally):

Code:
for( int i = 0; i < SDK::Interfaces::g_pEntityList->GetHighestEntityIndex(); i++ ) {
	SDK::IClientEntity* pEntity = SDK::Interfaces::g_pEntityList->GetClientEntity( i );

	if( pEntity && pEntity->GetClientClass()->m_ClassID == <class id here> ){
		//Apply glow
	}
}
Of course, you want to do it externally so it's gonna be somewhat different.


Thank You class-id is 103 but still no clue how to finish in PolyHack might @Merccy2 or @Yemiez knows how
Quote Originally Posted by 555444 View Post
might @Merccy2 or @Yemiez knows how
I see I am not wanted here. >_>

PolyLoader is just a C++ compiler, just write all your code as your would normally then add the PolyLoader tags, stuff like:

[junk_enable /]
[enc_string_enable /]
[add_junk /]

Make sure you enable junk after you define your initial variables. Also enable enc_string there too. Then just add random bits of junk.
Quote Originally Posted by 555444 View Post
Thank You class-id is 103 but still no clue how to finish in PolyHack might @Merccy2 or @Yemiez knows how
Read developer thread on PolyLoader 2, all the info you want is there.
Blueblood gave a pretty good answer to
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?