Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Feedback Suggestions and improvements v
« Previous 1 … 11 12 13 14 15 … 36 Next »
Emitter's drawing priority
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Emitter's drawing priority
05-04-2020, 03:13 PM, (This post was last modified: 05-04-2020, 03:36 PM by The17thDoctor. Edited 3 times in total.)
#3
The17thDoctor Offline
TSCM Average Enjoyer
****
Posts: 1,100
Threads: 249
Joined: Oct 2015
RE: Emitter's drawing priority
Thank you, that will really help for what I wanted to do Smile

After trying the function, my starfall returned me :
SF:.txt:11: attempt to call field 'overrideDepthEnable' (a nil value)

If you have any idea on why it does that, here is my code by the way :

--@name Test
--@author
--@shared

if SERVER then

else
eself = ents.self()

hook("render","render",function()
render.overrideDepthEnable(true,true)

render.start3D2D(eself:toWorld(Vector(0,0,-35)),eself:toWorld(Angle(0,0,0)),0.1)
render.setColor(255,255,255)
render.drawRect(-50,-35,100,70)
render.end3D2D()

render.overrideDepthEnable(false)
end)
end

The17thDoctor: Server take me to the most handsome person
srcds_linux: I cant send people to themselves...
Website Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Emitter's drawing priority - by The17thDoctor - 04-04-2020, 08:15 PM
RE: Emitter's drawing priority - by Person8880 - 05-04-2020, 02:09 PM
RE: Emitter's drawing priority - by The17thDoctor - 05-04-2020, 03:13 PM
RE: Emitter's drawing priority - by mariofludd - 05-04-2020, 03:56 PM
RE: Emitter's drawing priority - by Person8880 - 05-04-2020, 03:58 PM
RE: Emitter's drawing priority - by The17thDoctor - 05-04-2020, 04:01 PM

  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.