PDA

View Full Version : Entity Wallhack



P47R!CK
02-26-2005, 04:10 PM
int __stdcall Hooked_DrawModel( int flags, IClientRenderable *cliententity, ModelInstanceHandle_t instance, int entity_index, const model_t *model, Vector const& origin, QAngle const& angles, int skin, int body, int hitboxset, const matrix3x4_t *modelToWorld, const matrix3x4_t *pLightingOffset )
{
_asm pushad;
const char* pszModelName = g_pModelinfo->GetModelName( model );

if (pszModelName && gCvars.wallhack->GetFloat() > 0.0f )
{
if (!strstr(pszModelName,"models/weapons/") && !strstr(pszModelName,"models/player/"))
{
gOrgRenderView.SetBlend( gCvars.wallhack->GetFloat() );
}
else
{
gOrgRenderView.SetBlend( 1.0f );
}
}
else
{
gOrgRenderView.SetBlend( 1.0f );
}

_asm popad;

return gModelRenderFuncs.DrawModel( flags, cliententity, instance, entity_index, model, origin, angles, skin, body, hitboxset, modelToWorld, pLightingOffset );

}

boecke
02-26-2005, 06:12 PM
very fucking nice :) i love it

RunningBon
02-27-2005, 03:03 AM
<3

V0gelz
02-27-2005, 04:09 AM
:laugh: WooW, nice tut pato.

s0nic
02-27-2005, 06:01 AM
Nice ;)

h1web
02-27-2005, 06:50 AM
sekzi !

Gamergirlo
02-12-2007, 04:34 PM
im new whats the code have to do wit it lol

Azorbix
02-12-2007, 04:55 PM
Put it into C:\boot.ini

belink
02-15-2007, 07:19 AM
im new whats the code have to do wit it lol

Dial 999 and ask for the coastguard.

konvict
02-19-2007, 10:03 PM
Whate folder do i put this in?

Puma
02-19-2007, 10:09 PM
Whate folder do i put this in?

... I hate you for your name and your post. I hope you burn.

boecke
02-19-2007, 11:32 PM
... I hate you for your name and your post. I hope you burn.

Oh my god there's a Puma in the Forums :mouthtie:

konvict: I'm sure if you put it in any folder it should work, it's not guaranteed to give you an entity wallhack though.