create bots with this plugin


  • Hero Member
  • F = d(mv)/dx
  • Posts: 969
Re: create bots with this plugin
« Reply #105,  »
Quote from Ezio9805-P on February 2nd, 11:45 AM
Quote from Athanatos on September 15th, 2020, 07:54 PM
You need to sync the health in the server's code. Take the onPlayerShot client side function (or whatever it was) send a `damage` packet to the server and then sync the health manually. That's kinda the only way.
Is there really an event function for on player getting shot?
In client side - yes. It doesn't work for shotguns and melee.