More Multi-Hack + Namestealer no team fix
This commit is contained in:
parent
3a47e59a9c
commit
c495d972cf
1
build-debug-hl2dm
Executable file
1
build-debug-hl2dm
Executable file
@ -0,0 +1 @@
|
||||
make -j4 GAME=hl2dm BUILD_DEBUG=1
|
1
build-debug-tf2c
Executable file
1
build-debug-tf2c
Executable file
@ -0,0 +1 @@
|
||||
make -j4 GAME=tf2c BUILD_DEBUG=1
|
1
build-hl2dm
Executable file
1
build-hl2dm
Executable file
@ -0,0 +1 @@
|
||||
make -j4 GAME=hl2dm NO_WARNINGS=1
|
1
build-tf2c
Executable file
1
build-tf2c
Executable file
@ -0,0 +1 @@
|
||||
make -j4 GAME=tf2c NO_WARNINGS=1
|
@ -341,8 +341,8 @@ const char* GetFriendPersonaName_hook(ISteamFriends* _this, CSteamID steamID) {
|
||||
// Check User settings if namesteal is allowed
|
||||
if (namesteal && steamID == g_ISteamUser->GetSteamID()) {
|
||||
|
||||
// We dont want to steal names while not in-game as there are no targets to steal from
|
||||
if (g_IEngine->IsInGame()) {
|
||||
// We dont want to steal names while not in-game as there are no targets to steal from. We want to be on a team as well to get teammates names
|
||||
if (g_IEngine->IsInGame() && g_pLocalPlayer->team) {
|
||||
|
||||
// Check if we have a username to steal, func automaticly steals a name in it.
|
||||
if (StolenName()) {
|
||||
|
Reference in New Issue
Block a user