Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CTSPlayerController extends PlayerController;
- var bool CanFire;
- exec function Fire( optional float F ) {
- if (CanFire) Super.Fire(F);
- else if (Pawn.Weapon.Class == class'xWeapons.ShieldGun') Super.Fire(F);
- }
- defaultproperties {
- CanFire=true
- }
Add Comment
Please, Sign In to add comment