[CODE]function ENT:Draw()
self:DrawModel()
local Vector1 = self:LocalToWorld( Vector( 0, 0, 100 ) )
local Vector2 = self:LocalToWorld( Vector( 0, -50, 0 ) )
local Vector3 = self:LocalToWorld( Vector( 0, 50, 0) )
local Vector4 = self:LocalToWorld( Vector( 0, 50, -200) )
local Laser = Material( "rrroleplay/gangtest.png" )
render.SetMaterial( Laser )
-- render.DrawBeam( Vector1, Vector2, 5, 1, 1, Color( 255, 255, 255, 255 ) )
--render.DrawQuad(Vector1, Vector2, Vector3, Vector4)
-- render.ClearDepth()
render.DrawSprite(Vector1, 50, 50, Color(255, 255, 255, 255))
end [/CODE]
I was wondering how to make so the render donnt follow the player and just stays any ide?
Show us a screenshot of what you mean please. I don't quite follow what you're doing, trying to do, etc...
The locations you have set up should be set up for the ENTITY you're coding for...
[QUOTE=Acecool;44546149]Show us a screenshot of what you mean please. I don't quite follow what you're doing, trying to do, etc...
The locations you have set up should be set up for the ENTITY you're coding for...[/QUOTE]
I just got it working no need any more
Sorry, you need to Log In to post a reply to this thread.