GolfWang2
Posts : 48 Join date : 2012-04-01 Location : USA
| Subject: Shots Fired script! Sat Apr 07, 2012 9:31 pm | |
| - Code:
-
bind MOUSE1 [ hits; attack; onrelease [sleep 100 [hits_]] ]
hitmsg = 1
alias hits [ if (= $hitmsg 0) [] [ if (= (curweapon) (currentprimary)) [ hit1 = (at (pstat_weap (findcn $curname)) (* (currentprimary) 2)) hit2 = (at (pstat_weap (findcn $curname)) (+ (* (currentprimary) 2) 1)) hitecho = 1 ]]]
alias hits_ [ if (= $hitmsg 0) [] [ shotsf = (- (at (pstat_weap (findcn $curname)) (* (currentprimary) 2)) $hit1) damagem = (- (at (pstat_weap (findcn $curname)) (+ (* (currentprimary) 2) 1)) $hit2) if (&& (= $hitecho 1) (> $shotsf 0)) [ echo (concat "3shots fired:" $shotsf "1Damage made:" $damagem) hitecho = 0 ]]] | |
|
Damn
Posts : 48 Join date : 2012-03-25 Age : 35 Location : Tampere, Finland
| Subject: Re: Shots Fired script! Mon Apr 09, 2012 7:18 am | |
| Thanks for the script, i'm using it | |
|
tokka
Posts : 12 Join date : 2012-04-18
| Subject: thanks Fri Apr 27, 2012 12:10 pm | |
| | |
|
Sponsored content
| Subject: Re: Shots Fired script! | |
| |
|