Carbonite Gun SWEP

Recently, I have been playing Star Wars Jedi Knight Mysteries Of The Sith lately. One of the weapons I obtained in the game is the Carbonite Rifle, and I found out it is a really neat weapon. Would anyone be able to code a SWEP that is similar to the Carbonite Rifle?

If any references are needed let me know and I will find them.

Reference please