FmC
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Acruz'' apply!
Sat Jun 09, 2012 9:02 am by Acruz''

» ADIGA Apply
Sat May 05, 2012 5:19 am by Deuce

» New website
Tue May 01, 2012 6:37 pm by @Ppl3

» BoMbeR applys :)
Tue May 01, 2012 2:59 pm by Bomber!!

» Application: tokka
Mon Apr 30, 2012 11:47 am by tokka

» |FmC| vs =TUF= (2vs2) 2:0 [W]
Mon Apr 30, 2012 2:51 am by HugsnKisses

» FmC 1v1 Tourney bracket
Mon Apr 30, 2012 2:48 am by HugsnKisses

» Some of my 1vs1's
Sun Apr 29, 2012 2:21 pm by Damn

» Shots Fired script!
Fri Apr 27, 2012 12:10 pm by tokka

Friends
UltraPenguin
DES|
HyPE|
AssaultCube
ACR
|#LC*|
=MyS=
B}
FD*
LG*

Share | 
 

 Shots Fired script!

Go down 
AuthorMessage
GolfWang2

avatar

Posts : 48
Join date : 2012-04-01
Location : USA

PostSubject: 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
]]]
Back to top Go down
View user profile
Damn



Posts : 48
Join date : 2012-03-25
Age : 30
Location : Tampere, Finland

PostSubject: Re: Shots Fired script!   Mon Apr 09, 2012 7:18 am

Thanks for the script, i'm using it Smile
Back to top Go down
View user profile
tokka



Posts : 12
Join date : 2012-04-18

PostSubject: thanks   Fri Apr 27, 2012 12:10 pm

nice script
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Shots Fired script!   

Back to top Go down
 
Shots Fired script!
Back to top 
Page 1 of 1
 Similar topics
-
» Chess Script
» Another Cinderella Story Movie Script
» Firefox 4 - Mybrute stuff
» JavaScript Chess
» Adventure Comix: The Movie Script!

Permissions in this forum:You cannot reply to topics in this forum
Fragmaster Clan :: AssaultCube :: Maps/Scripts/Mods :: Scripts-
Jump to: