z346etn56jzd7egth (12-03-2014)
FEEL FREE TO USE!
This is NOT made by me, I only supported the person.
Also SOME of the code is taken for free from another website that gives source codes for free, Keep that in mind. ;))))
if (pCmd->buttons & IN_ATTACK)
{
float radius = 512.0f;
C_BasePlayer *lp = UTIL_PlayerByIndex(1);
C_BaseEntity *ents[256];
int ent_count = UTIL_EntitiesInSphere(ents, 256, lp->GetAbsOrigin(), radius, 0);
int i = 0;
for (i = 0; i < ent_count; i++)
{
if (ents[i] == NULL) continue;
if (!ents[i]->IsAlive()) continue;
if (!ents[i]->IsNPC()) continue;
if (!ents[i]->IsVisible()) continue;
if (ents[i]->IsDormant()) continue;
if (ents[i]->GetMoveType() == MOVETYPE_NONE) continue;
if (ents[i]->GetMoveType() == MOVETYPE_OBSERVER) continue;
Vector aimpos; aimpos.Init();
aimpos = ents[i]->GetAbsOrigin();
QAngle attchangles;
int attch = ents[i]->LookupAttachment("ValveBiped.Bip01_Head1");
if (attch > 0) ents[i]->GetAttachment(attch, aimpos, attchangles);
QAngle aimang; aimang.Init();
aimpos = aimpos - EyePosition();
AngleVectors(aimang, &aimpos);
pCmd->viewangles = aimang;
}
If a person who posted PARTS of this code originally please contact me via steam...
And I will take the post down if you wish me to.
Last edited by MistakingGirl39; 08-25-2014 at 09:02 AM.
z346etn56jzd7egth (12-03-2014)
Could work i think.
Over the night of the 1st May we lost one of the most important websites ever created. Godspeed Grooveshark.
You need internal base.
orion319 (08-25-2014)
Where can I find internal base?thk!
What coding language is this in? sorry im new
what do i do with it ..?
Last edited by Yourmapa; 09-29-2014 at 08:17 AM.
how do i set this up , im new to the valve hacking system ?
like where do i put the script
Muh Tumblr (NSFW)
Click HERE to join the Night Owls if you stay up late on MPGH
Anime Recommendation (3/14/15) | Manga/Manhwa Recommendation (8/20/15)
^ I'll update one of these soon I swear ^
Member Since 8/05/2012
Editor 4/04/13 - 4/21/13
Middleman 7/14/13 - 11/4/13
Battlefield Minion 6/13/14-3/20/15
Steam Minion 7/16/14-3/20/15
Minion+ 10/1/14-3/20/15
M.A.T. Minion 10/19/14-3/20/15
ROTMG Minion 1/14/15-3/20/15
Donator Since 2/26/15 (Thanks @Cursed!)
Steam Minion 5/9/15 - 11/5/15
OSFPS Minion 9/15/15 - 11/5/15
Is it c++ ...???
Last edited by federizer; 09-30-2014 at 03:11 AM.
CSGO already updated. MAYBE. JUST MAYBE they will release a HACK by today(later) or tomorrow. hopefully as soon as possible. because CSGO is already updated.
Thanks for the source. I might use this later on (Of course, modified to hell.)