Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
1. it does not work while you are dead
2. it only heals up to 100
Which files or codes should I send you?
the thing which looks something like that in the weapon_lightsaber.lua file
{
name = "Force Heal"
}
name = "Force Heal",
icon = "H",
description = "Hold Mouse 2 to slowly heal yourself",
action = function( self )
if ( self:GetForce() < 1 --[[|| !self.Owner:IsOnGround()]] or self.Owner:Health() >= 100 or CLIENT ) then return end
self:SetForce( self:GetForce() - 1 )
self:SetNextAttack( 0.2 )
local ed = EffectData()
ed:SetOrigin( self.Owner:GetPos() )
util.Effect( "rb655_force_heal", ed, true, true )
self.Owner:SetHealth( self.Owner:Health() + 1 )
self.Owner:Extinguish()
end
Modify it for it to work thank you
i have not teste it but try this http://pastebin.com/xtN676v5