so i did everything right, my picture is not big, my resourses are fine and clientside is good too, clients are downloading the picture, but see errors, help!
my resources lua
resource.AddFile("materials/collusionswrp/neo_pidrila.png")
clientside
local wave = Material('collusionswrp/neo_pidrila.png')
hook.Add('PostDrawOpaqueRenderables', '3d2d', function ( )
cam.Start3D2D( Vector( -7800, -11778.1875, 500 ), Angle( 0, -0, 90), 0.1 )
surface.SetDrawColor(255,255,255,255)
surface.SetMaterial( wave )
surface.DrawTexturedRect( 0,0,500,500 )
cam.End3D2D()
Is the code fine?
PLZ HELP ME GUYS, OTHERWISE MY STARWARS RP SERVER Will die ((
What exactly is the error?
Oh shit, missclick.
The picture is the error.
Do you have the material on your FastDL?
on my fastdl? no. But on the loading screen people are downloading the file.
purple and black texture instead of the picture
That means your client still does not have the right picture. Make sure you have server downloads turn on in the gmod options.
i dont think that it is the solution
https://i.imgur.com/uOByoCD.png
Literally copy pasted your code but changed the material to something I know I had on my client.
If I change the material to something retarded I get this:
https://i.imgur.com/KzIIEkZ.png
so what should i do?
Put the file on your FastDL so clients can actually download it.
k
Sorry, you need to Log In to post a reply to this thread.