Garry's Mod

Garry's Mod

[jpSCP] Code System
L.Z|W.S 2021 年 2 月 3 日 上午 8:52
[SUPPORT] Status Code in the corner
It is completely black and changing it in the menu doesn't change anything
< >
正在显示第 1 - 5 条,共 5 条留言
L.Z|W.S 2021 年 2 月 3 日 上午 9:16 
Okay it shows only when i'm outside of the world
L.Z|W.S 2021 年 2 月 3 日 上午 10:13 
Okay, i fixed it, you forgot the surface.SetDrawColor()
hook.Add( "HUDPaint", "DrawSCPCode", function()
surface.SetDrawColor( 255, 255, 255, 255 )
surface.SetMaterial( codePosition )
surface.DrawTexturedRect( ScrW() - (ScrW() * .16), -50, ScrW() * .15, ScrW() * .15)
end )
L.Z|W.S 2021 年 2 月 3 日 上午 10:14 
For me without it draws rectangle black
Pabz  [开发者] 2021 年 2 月 3 日 下午 4:26 
Mhhhh. Thank you!
L.Z|W.S 2021 年 2 月 3 日 下午 10:25 
引用自 ItzPabz
Mhhhh. Thank you!
No problem
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50