I’ve been struggling to get this event working for some time now.
While looking for an answer on how to listen for this event I came across some different solutions and I am not sure which one is good.
I need to get Killer Player and Killed Player from this event, should I do it like this:
EventHandlers["onPlayerKilled"] += new Action<Player, Player>(OnPlayerKilled);
Or like this:
EventHandlers["onPlayerKilled"] += new Action<Int, Int>(OnPlayerKilled);
Some sources stated that this should return Player, while others say that it returns playerID (int), which one is correct?
Also, I’ve seen syntax like this:
What is up with baseevents, should it be there for it to work properly? If so, in which events should I include it?