Guest User

Untitled

a guest
Oct 24th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. class CTSPlayerController extends PlayerController;
  2.  
  3. var bool CanFire;
  4.  
  5. exec function Fire( optional float F ) {
  6. if (CanFire) Super.Fire(F);
  7. else if (Pawn.Weapon.Class == class'xWeapons.ShieldGun') Super.Fire(F);
  8. }
  9.  
  10. defaultproperties {
  11. CanFire=true
  12. }
Add Comment
Please, Sign In to add comment