So i am using a custom verison of evocity, but i do not have the VTF for it. And there are some models on it thats errors, and are not available anymore, anyway to delete them if i have the object names? Example: Gimp_Female 3
VMF
try to google for an bsp decompiler. GIYF
My friend did that, but it does not allow saving map.
A combination of [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/util/IsValidModel]util.IsValidModel[/url] and [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/OnEntityCreated]GM/OnEntityCreated[/url] should help you out.
Any working example please?
Hook.Add to OnEntityCreated, call the validmodel function with the entities model, if false then remove the entity. Put in lua/autorun/server
An working actual file tested please.. Im not a very good coder.
You are that annoying mouthy kid from that PERP Server aren't you? XD I remember you, good luck
[code]for k,v in pairs( ents.GetAll() ) do
v:Remove()
end[/code]
this should do [i]exactly[/i] what you want it to do
[QUOTE=xAl3xTh3K1nG;47510557]An working actual file tested please.. Im not a very good coder.[/QUOTE]
Wow.. Well that's such a dick move of you.
Sorry, you need to Log In to post a reply to this thread.