i edited the lockpick weapon, that it cant lockpick fading doors anymore.
if SERVER and e.isFadingDoor then function() local ply = LocalPlayer() chat.AddText(ply, "You cant lockpick fadeingdoors") end return end
e references trace.Entity
But GMod kicks me for <name> expected near (
Please help me