So I’m creating a script in which removes the possibility of someone leaving during being arrested. Now, they can leave… However, when they join back they’ll be arrested.
So, I have the following in my cl_aap.lua:
if ply:isArrested() net.Start( "isArrested" ) net.SendToServer() end
Here is what is in my sv_aap.lua:
net.Receive( "isArrested", function GM:PlayerDisconnected( ply ) end )
What would I put in the Player Disconnected function on the server side? I mean how would I go about doing this? Would I put a GM:PlayerConnect function nesting within the PlayerDisconnected function? I mean I’m so lost.
Please help, thanks