General > Developers Corner

Death display

<< < (2/2)

Suicidal Dog:
Right I am confused as I thought I had it working right now I got a


--- Code: ---net.Receive( "death", function deathScreen( victim, weapon, attacker )
--- End code ---

as I thought it may work the same way as I have also got


--- Code: ---hook.Add( "PlayerDeath" , "DeathScreenShow" , deathScreen )
--- End code ---

But when trying to call the "attacker" it just gives me an error of


--- Code: ---[ERROR] lua/autorun/client/cl_rdm.lua:14: attempt to index upvalue 'attacker' (a nil value)
  1. unknown - lua/autorun/client/cl_rdm.lua:14

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version