• Reseting owner of a prop
    4 replies, posted
Hello, is there a way to set an entity owner to world? I already tried a lot and nothing is working. Any help will be appreciated.
prop:SetOwner(NULL) or prop:SetCreator(NULL)
When I try SetCreator(NULL) I get this: attempt to call method 'SetCreator' (a nil value) If it helps my code is: concommand.Add("resetowner", function(ply) Eentity = LocalPlayer():GetEyeTrace().Entity Eentity:SetCreator(NULL) end)
SetCreator is serverside only.
Also if you use FPP use Entity:CPPISetOwner. SetCreator maybe too. I don't even know where it is used in Garry's Mod anywhere, besides in tools.
Sorry, you need to Log In to post a reply to this thread.