Player disconnect

I wanted to know, with the hook to disconnect, could i possibly for a moment use some networked integers etc?

so say like,




GM:PlayerDisconnected(ply)
ply:GetNWInt("blah")



Yes you can.




] lua_run player.GetAll()[1]:SetNWInt("blah", "pork")
> player.GetAll()[1]:SetNWInt("blah", "pork")...

] lua_run print(player.GetAll()[1]:GetNWInt("blah"))
> print(player.GetAll()[1]:GetNWInt("blah"))...
pork

] lua_run hook.Add("PlayerDisconnected", "oisuabfipuasbf", function (ply) print(ply:GetNWInt("blah")) end)
> hook.Add("PlayerDisconnected", "oisuabfipuasbf", function (ply) print(ply:GetNWInt("blah")) end)...

] disconnect 

pork

Dropped JSharpe from server (Disconnect by user.)