General > Developers Corner

Death Screen

(1/1)

Suicidal Dog:
I am trying to make a death screen appear when a player dies and want to use the PlayerDeath hook to get the killers name weapon and other such info. I am just asking someone to give me a little bit of code where a VGui appears on death and I can use the attacker, inflictor and victim parts of player death. My previous efforts haven't ended too well and just want someone to show me how I would do this by coding it, just an example of the attacker and other parts of the PlayerDeath hook being used.

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version