Advertisement
DylanB

Death Text: Server to client notify

Apr 12th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. //////////////////////////////////////////////////////////////////////////////
  2.  
  3. hook.Add("PlayerDeath", "Realism_PlayerDeath", function(ply, inflictor, killer)
  4.     ply:SendLua("AlphaLoop()")
  5. end)
  6.  
  7. hook.Add("PlayerSpawn", "Realism_PlayerSpawn", function(ply)
  8.     ply:SendLua("alpha = 1")
  9. end)
  10.  
  11. //////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement