• .net and Derma
    1 replies, posted
Hi guys! My name is Mike and I have alcohol depende.. uh.. sorry. Well I am making entity and I would like to open Derma when I press E (ENT:Use()) So.. I made this one.. Just look at this.. (It's a piece of code) When I press E I see Derma but I need only 1 window NOT 7 windows!. How to fix it? init.lua util.AddNetworkString("SendDermaS") function ENT:Use()     net.Start('SendDermaS')     net.Broadcast() end    cl_init.lua net.Receive("SendDermaS",function()      local frame = vgui.Create("DFrame")      frame:SetSize(500,200)      frame:Center()      frame:SetVisible(true)      frame:MakePopup() end) https://files.facepunch.com/forum/upload/114477/fdf23249-320a-45d9-b2aa-6979a483cf99/изображение.png
Try taking a break from the alcohol and read the sticky before posting Anyway, add self:SetUseType(SIMPLE_USE) to your ENT:Initialize method.
Sorry, you need to Log In to post a reply to this thread.