Fragmaster Clan
Would you like to react to this message? Create an account in a few clicks or log in to continue.


FmC
 
HomePortalLatest imagesSearchRegisterLog in
Search
 
 

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

» ADIGA Apply
Shots Fired script! Icon_minitimeSat May 05, 2012 5:19 am by Deuce

» New website
Shots Fired script! Icon_minitimeTue May 01, 2012 6:37 pm by @Ppl3

» BoMbeR applys :)
Shots Fired script! Icon_minitimeTue May 01, 2012 2:59 pm by Bomber!!

» Application: tokka
Shots Fired script! Icon_minitimeMon Apr 30, 2012 11:47 am by tokka

» |FmC| vs =TUF= (2vs2) 2:0 [W]
Shots Fired script! Icon_minitimeMon Apr 30, 2012 2:51 am by HugsnKisses

» FmC 1v1 Tourney bracket
Shots Fired script! Icon_minitimeMon Apr 30, 2012 2:48 am by HugsnKisses

» Some of my 1vs1's
Shots Fired script! Icon_minitimeSun Apr 29, 2012 2:21 pm by Damn

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

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

 

 Shots Fired script!

Go down 
3 posters
AuthorMessage
GolfWang2

GolfWang2


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

Shots Fired script! Empty
PostSubject: Shots Fired script!   Shots Fired script! Icon_minitimeSat 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
Damn




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

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

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




Posts : 12
Join date : 2012-04-18

Shots Fired script! Empty
PostSubject: thanks   Shots Fired script! Icon_minitimeFri Apr 27, 2012 12:10 pm

nice script
Back to top Go down
Sponsored content





Shots Fired script! Empty
PostSubject: Re: Shots Fired script!   Shots Fired script! Icon_minitime

Back to top Go down
 
Shots Fired script!
Back to top 
Page 1 of 1
 Similar topics
-
» Ratio at the end of a game script!

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