Garry's Mod Wiki

NEXTBOT:OnInjured

  NEXTBOT:OnInjured( CTakeDamageInfo info )

Description

Called when the bot gets hurt. This is a good place to play hurt sounds or voice lines.

Arguments

1 CTakeDamageInfo info
The damage info