mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-07 11:53:20 +00:00
Remove debug
This commit is contained in:
parent
dd2f1b45bd
commit
86573cf1a6
2 changed files with 0 additions and 2 deletions
Binary file not shown.
|
@ -41,14 +41,12 @@ public Action OnFriendAction( BehaviorAction action, int actor, BehaviorAction p
|
||||||
if(IsFakeClient(target)) {
|
if(IsFakeClient(target)) {
|
||||||
// If target is a bot, not idle player, ignore
|
// If target is a bot, not idle player, ignore
|
||||||
if(GetEntProp(target, Prop_Send, "m_humanSpectatorUserID") == 0) {
|
if(GetEntProp(target, Prop_Send, "m_humanSpectatorUserID") == 0) {
|
||||||
PrintToServer("Preventing %N from healing bot %N", actor, target);
|
|
||||||
result.type = DONE;
|
result.type = DONE;
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If they are not black and white, also stop
|
// If they are not black and white, also stop
|
||||||
if(!GetEntProp(target, Prop_Send, "m_bIsOnThirdStrike")) { //If real player and not black and white, stop
|
if(!GetEntProp(target, Prop_Send, "m_bIsOnThirdStrike")) { //If real player and not black and white, stop
|
||||||
PrintToServer("Preventing %N from healing %N, not black & white", actor, target);
|
|
||||||
result.type = DONE;
|
result.type = DONE;
|
||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue