Socrates Posted April 20, 2011 Share Posted April 20, 2011 I wonder if its possible to remove the smoke choking effect from smoke bombs, If yes please tell me how... or give me the link to that resource if it alredy exist. I basically want to use them to stealth. Link to comment
Gungneer Posted April 20, 2011 Share Posted April 20, 2011 I recent did this for my server to give "SWAT" what I refer to as a "gas mask" effect. It's a two part code on both the server and client to stop full effects, but unfortunatly I don't have the EXACT code available to you right now but I can tell you how to do it. Server:- On player damage, check if the weapon is tear gas, is yes, check if the person is in the right team or whatever, if yes, cancel event. (Or just give them back the health they lost, I can't remember exactly) Client:- OnClientPlayerChoak, if weapon == tear gas && player meets the requirements, cancel. https://wiki.multitheftauto.com/wiki/OnClientPlayerChoke 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