daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Apr 28th, 2013 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local aWeapons =
  2. {
  3.         25, 26 -- Edit this
  4. };
  5.  
  6. addEventHandler ( 'onClientPlayerDamage', root,
  7.         function( pAttacker, iWeaponID )
  8.                 if pAttacker and pAttacker ~= localPlayer then
  9.                         for i, v in ipairs( aWeapons ) do
  10.                                 if v == iWeaponID then
  11.                                         setElementVelocity ( localPlayer, 0, 0, 0 );
  12.                                 end
  13.                         end
  14.                 end
  15.         end
  16. );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top