attempt to call field 'WriteString' (a nil value)

I have no idea on what is wrong right now…

[LUA]
net.Receive(“MGLUA_RebelGanGz_CTS_GGW”,function()
local ply = net.ReadEntity()
local name = net.ReadString()
gangweps = GetGangWeapons(name)
PrintTable(gangweps)
net.Start(“MGLUA_RebelGanGz_CTS_GGW_C”)
net.WriteString(“S”)
net.Send(ply)
end)
[/LUA]

From the looks of things net.WriteString is a nil value.

I’m pretty sure “S” is a string.

Yes it is well done.

Just tested your code serverside, no errors.

You are overwriting net somewhere in your code.

Not the code shown, but somewhere in your addons/gamemode.

I will try some of the stuff.