Page 1 of 4

Re: Compatible Plugins List

Posted: 14 Apr 2017, 17:09
by Raheem
Jack GamePlay wrote: 7 years ago - VIP Trail.
Optimized the code.
Updated.
:lol: :lol:

Re: Compatible Plugins List

Posted: 24 Apr 2017, 11:08
by mzqx
Soo.. Resemiclip its safe with this?
sv_force_ent_intersection 1

Re: Compatible Plugins List

Posted: 24 Apr 2017, 11:12
by Raheem
Yes, Tested and it's working without problems.

Re: Compatible Plugins List

Posted: 13 May 2017, 09:59
by czirimbolo
Is it possible to make the parachute only for humans?

Re: Compatible Plugins List

Posted: 13 May 2017, 11:06
by johnnysins2000
czirimbolo wrote: 6 years ago Is it possible to make the parachute only for humans?
Yes

Why do u need parachute Only for Humans And Not for Zombies ?

Re: Compatible Plugins List

Posted: 13 May 2017, 11:13
by czirimbolo
Can you change it to humans only? ;)

Re: Compatible Plugins List

Posted: 13 May 2017, 11:37
by johnnysins2000
czirimbolo wrote: 6 years ago Can you change it to humans only? ;)
:v But Only for You

Re: Compatible Plugins List

Posted: 13 May 2017, 11:55
by czirimbolo
yes of course, I think it will be too easy for zombies when they have parachute ;)

Re: Compatible Plugins List

Posted: 13 May 2017, 13:37
by johnnysins2000
czirimbolo wrote: 6 years ago yes of course, I think it will be too easy for zombies when they have parachute ;)
OK Remind me after 18 May (Next Week)

I think it would be better if Raheem made a cvar for both

Humans and Zombies

Like if we enable Cvar Human "1" do humans can use only parachute and if we turn on the cvar for zm then zombie Can only use it

Re: Compatible Plugins List

Posted: 13 May 2017, 13:50
by czirimbolo
yes, it would be nice ;)

Re: Compatible Plugins List

Posted: 13 May 2017, 17:27
by Raheem
Change this line:
  • Code: Select all

    if (get_pcvar_num(cvar_give_all) == 1 || g_bGiveParachute[playerIndex])
To:
  • Code: Select all

    if ((get_pcvar_num(cvar_give_all) == 1 || g_bGiveParachute[playerIndex]) && (get_member(playerIndex, m_iTeam) == TEAM_CT))
And you done...

Re: Compatible Plugins List

Posted: 13 May 2017, 17:35
by johnnysins2000
Raheem wrote: 6 years ago Change this line:
  • Code: Select all

    if (get_pcvar_num(cvar_give_all) == 1 || g_bGiveParachute[playerIndex])
To:
  • Code: Select all

    if (get_pcvar_num(cvar_give_all) == 1 || g_bGiveParachute[playerIndex] && get_member(playerIndex, m_iTeam) == TEAM_CT)
And you done...
:o Simple Solution . Thnx Raheem Crizmbolo try this And test it

Re: Compatible Plugins List

Posted: 13 May 2017, 17:37
by johnnysins2000

Code: Select all

   #include <zombie_escape>

// Variables
new bool:g_bGiveParachute[33];

// Cvars
new cvar_fall_speed, cvar_give_all;

public plugin_init()
{
	register_plugin("[ReAPI/ZE] Parachute", "1.1", "ReHLDS Team/Raheem");
	RegisterHookChain(RG_PM_AirMove, "PM_AirMove", false);
	
	// Cvars
	cvar_fall_speed = register_cvar("ze_fall_speed", "90");
	cvar_give_all = register_cvar("ze_give_all_parachute", "1");
}

public plugin_natives()
{
	register_native("ze_give_user_parachute", "native_ze_give_user_parachute", 1)
	register_native("ze_remove_user_parachute", "native_ze_remove_user_parachute", 1)
}

public PM_AirMove(const playerIndex)
{
	if (get_pcvar_num(cvar_give_all) == 1 || g_bGiveParachute[playerIndex] && get_member(playerIndex, m_iTeam) == TEAM_CT)
	{
		if (!(get_entvar(playerIndex, var_button) & IN_USE)
		|| get_entvar(playerIndex, var_waterlevel) > 0) {
			return;
		}
		new Float:flVelocity[3];
		get_entvar(playerIndex, var_velocity, flVelocity);
		if (flVelocity[2] < 0.0)
		{
			flVelocity[2] = (flVelocity[2] + 40.0 < -100.0) ? flVelocity[2] + 40.0 : -get_pcvar_float(cvar_fall_speed);
			set_entvar(playerIndex, var_sequence, ACT_WALK);
			set_entvar(playerIndex, var_gaitsequence, ACT_IDLE);
			set_pmove(pm_velocity, flVelocity);
			set_movevar(mv_gravity, 80.0);
		}
	}
}

public native_ze_give_user_parachute(id)
{
	g_bGiveParachute[id] = true
}

public native_ze_remove_user_parachute(id)
{
	g_bGiveParachute[id] = false
} 
Try this

Re: Compatible Plugins List

Posted: 13 May 2017, 19:45
by czirimbolo
it worked, thanks guys

Re: Compatible Plugins List

Posted: 16 May 2017, 06:52
by johnnysins2000
Also add Low Gravity In Supply Box as well

Re: Compatible Plugins List

Posted: 23 Jun 2017, 14:13
by Spir0x
i can't put a model for this parachute plugin :/ update sma please.

Re: Compatible Plugins List

Posted: 23 Jun 2017, 22:23
by Raheem
The authors not make it with model but anyway i'll do one for you.

Re: Compatible Plugins List

Posted: 01 Jul 2017, 19:38
by th3_king
i have proplem with parachute ... when i jump it give me high gravity ... please fix it thanks ! :)

Re: Compatible Plugins List

Posted: 02 Jul 2017, 04:57
by johnnysins2000
Th3 King wrote: 6 years ago i have proplem with parachute ... when i jump it give me high gravity ... please fix it thanks ! :)
Which Parachute Plugin are u using?

The 1 posted In this Forum ?

Re: Compatible Plugins List

Posted: 03 Jul 2017, 01:02
by th3_king
Yes