• Recreating a Wiremodel
    2 replies, posted
I've been trying to create a Lua script that creates a wireframe around the playermodel while still keeping it. This isn't for hacking/ESP purposes but for catching aimbotters (I have a laser sight also, but if you could help improve it I'd be happy too, it isn't too accurate I don't think) on demos. This is what I have down so far, but it seems to crash me: [lua] hook.Add("RenderScreenspaceEffects" , 0 , function() cam.Start3D(EyePos(),EyeAngles()) for k , v in pairs(player.GetAll()) do cam.IgnoreZ(true) v:SetMaterial("models/wireframe") v:SetColor(0,255,0) v:DrawModel() v:SetColor(255,255,255) cam.IgnoreZ(false) cam.End3D() end end ) [/lua] Thanks in advance, maybe you can find what's wrong with it. (trying to get it in a green color, also if you could make it so it does a wireframe around a weapon also in red I'd be happy)
-snip-
Bump. Need this.
Sorry, you need to Log In to post a reply to this thread.