Hey there,
Now, I fully understand that tools such as removeprops exist on the Garry's mod workshop, however, they won't work for this. On the role play map I'm using, I'm wanting to remove the phonebox.mdl model from the map. The following image is of the phone box and how it's 'tied' to the map. http://prntscr.com/nx0u7u
I've tried many different variants of code, however, none have worked for this, here's an example:
hook.Add("InitPostEntity", "RemovePhoneBox", function()
local tPhoneBox = ents.FindByModel("models/straya/phonebox.mdl")
for i = 1, #tPhoneBox do
tPhoneBox[i]:Remove()
end
end)
Any assistance would greatly be appreciated as I'm now unsure of how to proceed.
Cheers!
if it's prop_static you can't, it's baked in the map, that wouldn't make that much sense since even if you somehow can remove that entity (That's not an entity anymore), it would show a black shadow around it
Sorry, you need to Log In to post a reply to this thread.