I wanted to know, with the hook to disconnect, could i possibly for a moment use some networked integers etc?
so say like,
[code]
GM:PlayerDisconnected(ply)
ply:GetNWInt("blah")
[/code]
Yes you can.
[code]
] 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.)
[/code]
Sorry, you need to Log In to post a reply to this thread.