gmod_src: Added SENT callback ENT:ImpactTrace( tr, iType, st..

Revision 635
Added SENT callback ENT:ImpactTrace( tr, iType, strImpact )

  • should do effects (like blood spurts etc)
  • return true to not do default action
  • shared, server should send effect to client, client should spawn effect (predicted) Changed Files:
    [ul]
    [li]trunk/src_garrysmod/game/shared/garrysmod/scripted_entities/sent_anim.cpp [/li][li]trunk/src_garrysmod/game/shared/garrysmod/scripted_entities/sent_anim.h[/li][/ul]

Committed By Garry Newman