Open up aimbot.cpp
find this
Code:
else
if(!GetAimingTeam(ax))
{
r.visible = true;
}
Now:
Below that function you just located, add the following.
Code:
if(vPlayers[ax].getEnt()->curstate.sequence == 97 || vPlayers[ax].getEnt()->curstate.sequence == 98){
r.visible = false;
}
Save aimbot.cpp and recompile.
Last edited by bmp on Sun Jan 23, 2005 1:51 pm; edited 4 times in total
Toggable Shield retention
Code:
else
if(!GetAimingTeam(ax))
{
r.visible = true;
}
Now:
Below that function you just located, add the following.
Code:
if(cvar.shieldretention){
if(vPlayers[ax].getEnt()->curstate.sequence == 97 || vPlayers[ax].getEnt()->curstate.sequence == 98){
r.visible = false;
}}
Cvar.cpp
Code:
REGISTER_CVAR_INT(shieldretention, 1)
Cvar.h
Code:
int shieldretention;