Jump to content

Smoke choking effect?


Socrates

Recommended Posts

Posted

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.

Posted

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

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...