Merge pull request #284 from oneechanhax/master
More Multi-Hack + Namestealer no team fix
This commit is contained in:
commit
ddf4caf14d
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
|
@ -342,8 +342,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