SycroX Posted February 18, 2017 Share Posted February 18, 2017 how can i make the visibility of a weapon in the player hand 0 ? or his Alpha Link to comment
Syntrax# Posted February 18, 2017 Share Posted February 18, 2017 (edited) will take a look on it now Edited February 18, 2017 by Syntrax# Link to comment
SycroX Posted February 18, 2017 Author Share Posted February 18, 2017 you can't make this : - as the getPedWeapon return a number value Link to comment
Syntrax# Posted February 18, 2017 Share Posted February 18, 2017 (edited) 2 minutes ago, #Skrillex said: you can't make this : - as the getPedWeapon return a number value ik didn't saw that just tried something real fast Edited February 18, 2017 by Syntrax# Link to comment
SycroX Posted February 18, 2017 Author Share Posted February 18, 2017 i don't know how to make it i used the shader but it has failed becouse the shader is only replace the texture and tried to make it by txd and it work but the body of weapon is showen Link to comment
Syntrax# Posted February 18, 2017 Share Posted February 18, 2017 (edited) 4 minutes ago, #Skrillex said: i don't know how to make it i used the shader but it has failed becouse the shader is only replace the texture and tried to make it by txd and it work but the body of weapon is showen https://wiki.multitheftauto.com/wiki/CreateWeapon take a look on this.Here you can create custom weapons which will be represented as an element.MTA doesn't recognize the default weapons as elements.You'll have to create custom weapons with this and define the projectile and it's destination where it will hit somebody.When it hit a player you could add the blood effect or anything you like.This is the only method i know to change the alpha of it. Edited February 18, 2017 by Syntrax# Link to comment
SycroX Posted February 18, 2017 Author Share Posted February 18, 2017 iam talking about the weapon that in the hand Link to comment
Syntrax# Posted February 18, 2017 Share Posted February 18, 2017 3 minutes ago, #Skrillex said: iam talking about the weapon that in the hand That's what i am saying, you can get the element in the hand.It isn't defined as element within mta nor do i know how to even get that.The only method i see is the crateWeapon function with the same model ID and attaching it to the players hand Link to comment
pa3ck Posted February 18, 2017 Share Posted February 18, 2017 Replace the TXD with an "empty" texture Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now