Jump to content

[HELP]Remove weapon fire muzzle


~Cyber^

Recommended Posts

  • Scripting Moderators

?. You can do it with a simple texture replacement shader.

local rawShader = [[
	texture Tex;
	
	technique simple
	{
		pass P0
		{
			Texture [ 0 ] = Tex;
		}
	}
]]

local shader = dxCreateShader ( rawShader, 0, 0, false, "ped" )
local texture = dxCreateTexture ( 1, 1 )
dxSetShaderValue ( shader, "Tex", texture )
engineApplyShaderToWorldTexture ( shader, "muzzle_texture4" )

 

  • Like 1
  • Thanks 1
Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...