Hey guys, I did whats in the GMod Wiki page, http://wiki.garrysmod.com/?title=Surface.SetTexture
I just copied the code to see if it works:
[lua] local tex = surface.GetTextureID(“Brick/brickfloor001a”) // Gets the texture id for the brick texture
local function drawBrickTexture()
surface.SetDrawColor(255,255,255,255) // Makes sure the image draws with all colors
But it doesnt seem to work correctly, since only a black square will appear in my screen, and if I look around, somtimes the texture becomes visible for around 1 second, is there any fix to this?