[REQUEST] Anti Fall Damage Source

InfinityScript plugins for dedicated servers.
|MR|AFGhaN
TeknoRat
TeknoRat
Posts: 29
Joined: Mon May 30, 2016 2:16 pm

[REQUEST] Anti Fall Damage Source

Postby |MR|AFGhaN » Wed Jun 29, 2016 1:29 pm

Hi Guys i Need Anti Fall Damage Source if anyone have give me :bravo: :bravo:
User avatar
Boboo
TeknoDev
Posts: 145
Joined: Thu Jul 23, 2015 3:41 pm

Re: [REQUEST] Anti Fall Damage Source

Postby Boboo » Wed Jun 29, 2016 6:21 pm

Code: Select all

OnPlayerDamage
MOD_FALLING //or something
Player.Health += damage;
//5 Minutes of time


:bravo:
Image
|MR|AFGhaN
TeknoRat
TeknoRat
Posts: 29
Joined: Mon May 30, 2016 2:16 pm

Re: [REQUEST] Anti Fall Damage Source

Postby |MR|AFGhaN » Thu Jun 30, 2016 4:42 am

Boboo wrote:

Code: Select all

OnPlayerDamage
MOD_FALLING //or something
Player.Health += damage;
//5 Minutes of time


:bravo:


Boboo Can u give me Full Source
Taiqo
TeknoCricket
TeknoCricket
Posts: 8
Joined: Tue Dec 29, 2015 4:28 pm

Re: [REQUEST] Anti Fall Damage Source

Postby Taiqo » Thu Jun 30, 2016 1:29 pm

Code: Select all

        public override void OnPlayerDamage(Entity player, Entity inflictor, Entity attacker, int damage, int dFlags, string mod, string weapon, Vector3 point, Vector3 dir, string hitLoc)
        {
            if (mod == "MOD_FALLING")
            {
                player.Health += damage;
            }
            base.OnPlayerDamage(player, inflictor, attacker, damage, dFlags, mod, weapon, point, dir, hitLoc);
        }

._.
User avatar
~Lambder
TeknoSheep
Posts: 448
Joined: Thu Apr 11, 2013 5:40 pm
Location: Meadow.
Contact:

Re: [REQUEST] Anti Fall Damage Source

Postby ~Lambder » Thu Jun 30, 2016 7:53 pm

Stop giving this leech C&P material.

I, for one, have had enough of his requests.

Return to “InfinityScript”

Who is online

Users browsing this forum: No registered users and 4 guests