Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Festive Bullets
- @persist I T:entity PT:entity IA Targets:array I2 HC Cycle
- runOnTick(1)
- runOnKeys(T,1)
- if(first())
- {
- T = owner()
- }
- Clip = T:weapon():clip1()
- Clip2 = T:weapon():clip2()
- if(changed(Clip) & Clip != -1 & !changed(T:weapon()) | changed(Clip2) & Clip2 != -1 & !changed(T:weapon()))
- {
- I++
- holoCreate(I,T:aimPos()-T:forward()*3)
- holoScale(I,vec(random(2,3),random(2,3),random(2,3)))
- holoModel(I,"models/weapons/c_models/c_crusaders_crossbow/c_crusaders_crossbow_xmas_proj.mdl")
- holoAng(I,T:eyeAngles())
- holoColor(I,vec(random(100,255),random(100,255),random(100,255)))
- holoParent(I,T:aimEntity())
- holoParent(I,T:aimBone())
- }
- if(owner():keyPressed("C"))
- {
- holoDeleteAll()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement