Jump to content

Gun22

Members
  • Posts

    3
  • Joined

  • Last visited

Gun22's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Respect for you! It works!
  2. Thanks, but it doesn't work... My code is: local texturesimg = { {"radar_img/arrow.png", "radar_player"} } addEventHandler( "onClientResourceStart", resourceRoot, function() for i=1, #texturesimg do local shader = dxCreateShader( "radar_shader.fx" ) engineApplyShaderToWorldTexture ( shader, texturesimg[i][2] ) dxSetShaderValue ( shader, "gTexture", dxCreateTexture(texturesimg[i][1]) ) end end ) And the picture:
  3. Hi! Próbálkozom a radart átshaderezni, eddig lecseréltem a hátterét, de a nyílra nem jöttem rá, hogyan kell/lehet kicserélni. I'm trying change the shader of radar, I has changed the background, but I didn't realize how can I replace arrow. So far I tried this: local shader = dxCreateShader ( "shader.fx" ) local texture = dxCreateTexture ( "arrow.png" ) engineApplyShaderToWorldTexture ( shader, "arrow" ) dxSetShaderValue ( shader, "gTexture", texture ) This is in an other script, but it doesn't work.
×
×
  • Create New...