Thinking of an on_hit callback in the gun definition like what shooter has implemented...
Headshot detection code assumes that the target is a player with the MTG character model, which is very bad. Such hard-coded stuff should be removed from the API, and should be re-implemented using this callback.
Thinking of an
on_hitcallback in the gun definition like whatshooterhas implemented...Headshot detection code assumes that the target is a player with the MTG character model, which is very bad. Such hard-coded stuff should be removed from the API, and should be re-implemented using this callback.