Mr.unpredictable. Posted June 25, 2014 Share Posted June 25, 2014 i was creating a anti tear gas and anti movtova script for a tdm map i wanted it like zombies doesn't lose hp with moltova or they don't get affected by tear gas, but still there is problem can any one tell me whats wrong in my script? addEventHandler ( "onClientPlayerDamage", localPlayer, function (weaponID ) if ( weaponID == 17,18 ) and ( getTeamName ( source ) == "zombies" ) then cancelEvent ( ) end end ) Link to comment
Et-win Posted June 25, 2014 Share Posted June 25, 2014 if (( weaponID == 17) or (weaponID == 18 )) and ( getTeamName ( source ) == "zombies" ) Link to comment
Mr.unpredictable. Posted June 25, 2014 Author Share Posted June 25, 2014 if (( weaponID == 17) or (weaponID == 18 )) and ( getTeamName ( source ) == "zombies" ) thanks i will try it now 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