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