Permalink
Browse files

Adjust api plugin to the recent forward change

TTT_OnBodyFound --> Added silent boolean
  • Loading branch information...
good-live committed May 5, 2018
1 parent de344f3 commit 6ed19703efd928d4054edd5c681c72667144fa66
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/sourcemod/scripting/tests/ttt_api_test.sp
@@ -145,10 +145,10 @@ public Action TTT_OnClientDeathPre(int victim, int attacker)
PrintToServer("(TTT_OnClientDeathPre) victim: %d - attacker: %d", victim, attacker);
}
public void TTT_OnBodyFound(int client, int victim, const char[] deadPlayer)
public void TTT_OnBodyFound(int client, int victim, const char[] deadPlayer, bool silent)
{
PrintToServer("TTT_OnBodyFound was called!");
PrintToServer("(TTT_OnBodyFound) client: %d - victim: %d - deadPlayer: %s", client, victim, deadPlayer);
PrintToServer("(TTT_OnBodyFound) client: %d - victim: %d - deadPlayer: %s - silent: %b", client, victim, deadPlayer, silent);
}
public void TTT_OnBodyScanned(int client, int victim, const char[] deadPlayer)

0 comments on commit 6ed1970

Please sign in to comment.