Tick tock goes the clock on winter's night.
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 This is for a friend...

View previous topic View next topic Go down 
AuthorMessage
Wishbone
Equitis Curator
Equitis Curator
avatar

Posts : 184
Location : Heaven and Hell
Reputation : 0
Join date : 2011-02-12
~ : I can still remember~

20110308
PostThis is for a friend...

Code:

function SWEP:Think()
   if !self.Owner:Alive() then return end

   self:EmitAshes()      
   self:NextThink(CurTime() + 6)
end

function SWEP:EmitAshes()
   local edata = EffectData()
   edata:SetOrigin(self.Owner:GetPos())
   edata:SetEntity(self.Owner)

   util.Effect("shana_ashes", edata, true, true)
end

Well i'll be careful while using this code GMT might have copyright on all their weapons.

----------------------------
"One mans dream is a other mans fear."
"Their is only one thing we can control in life. Rather we are good or evil."

Back to top Go down
View user profile http://wishbone.motionsforum.com
Share this post on: Excite BookmarksDiggRedditDel.icio.usGoogleLiveSlashdotNetscapeTechnoratiStumbleUponNewsvineFurlYahooSmarking

This is for a friend... :: Comments

No Comment.
 

This is for a friend...

View previous topic View next topic Back to top 

Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Wishbone's Forum :: User Boards :: User Boards :: Wish's Blog of Stuff-
Jump to: