• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] Control over damage & death
#5
(2020-04-26, 08:44 PM)DTV Wrote: Maybe doing something similar to how zcmd has OnCommandProcessed (called when command is executed) and OnCommandRecieved (called when attempt to use command is detected) where we have callbacks for when damage info has been received (before dmg is applied) and processed (after dmg is applied) by the server.

I'd personally go with OnPlayerTakeDamage (present tense) and OnPlayerDamageTaken (past tense). I think this wording would be much clearer than OnPlayerDamageReceived and OnPlayerDamageProcessed.
  Reply


Messages In This Thread
Control over damage & death - by Manyula - 2020-04-26, 05:26 PM
RE: Control over damage & death - by Manyula - 2020-04-26, 07:41 PM
RE: Control over damage & death - by DTV - 2020-04-26, 08:44 PM
RE: Control over damage & death - by Manyula - 2020-04-26, 08:57 PM

Forum Jump: