Boostjump

Started by Cena, Jun 13, 2016, 10:05 AM

Previous topic - Next topic

Cena

How To Boost Player Jump In The Server?
Want To Meet Me Come #Cena At Lunet

Kewun

use gravity or velocity

KAKAN

oh no

Cena

Quote from: KAKAN on Jun 13, 2016, 10:50 AMhttp://forum.vc-mp.org/?topic=1197.msg8025#msg8025
Ok thanx But When Someone Jump And Fall His Hp Decrease I Think This Not Working this.player.Immunity = 8;
Help Plz :)
Want To Meet Me Come #Cena At Lunet

Finch Real

Function onplayermove
If ( player.Health < 100 )
{
player.Heatlh = 100;
}
}

This is example i am on mobile so i cannot give a perfect example
My Snipet Showroom

http://pastebin.com/5KKuU5cg

KAKAN

Quote from: Finch Real on Jun 14, 2016, 09:19 AMFunction onplayermove
If ( player.Health < 100 )
{
player.Heatlh = 100;
}
}

This is example i am on mobile so i cannot give a perfect example
lol, why not use the onPlayerHealthChange instead?
function onPlayerHealthChange( player, oldHP, newHP )
{
//Check if the player exists.
if( gLongJump.rawin( player.ID ) )
{
//yes, he does.
player.Health = 100; //or set it to oldHP.
//ALl done.
}
//Do/paste your old health change work here.
}
oh no

Finch Real

Yeah true btw I just forgot that
My Snipet Showroom

http://pastebin.com/5KKuU5cg

Cena

Want To Meet Me Come #Cena At Lunet