so I have this swep which works perfectly fine on SP but not on servers or on 2 player?
function SWEP:PrimaryAttack() net.Start("LeftClickedF") net.WriteBool(fsttimeclicked) fsttimeclicked = not fsttimeclicked net.Send(self:GetOwner()) // this is the line end
I get this error and I cant figure out why (code doesnt work too in multiplayer)
[ERROR] addons/rockford_swep/lua/weapons/rockford_map/shared.lua:25: attempt to call field 'Send' (a nil value) 1. unknown - addons/rockford_swep/lua/weapons/rockford_map/shared.lua:25
please help i am lost