Compatible Plugins List

Plug-ins compatibility with Zombie Escape 1.x only!


User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#21

Post by Raheem » 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...
Last edited by Raheem 6 years ago, edited 1 time in total.
Reason: Extra () ADDED, Very important.
He who fails to plan is planning to fail

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#22

Post by johnnysins2000 » 6 years ago

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
Nobody Is That Busy If They Make Time :roll:

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#23

Post by johnnysins2000 » 6 years ago

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
Nobody Is That Busy If They Make Time :roll:

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#24

Post by czirimbolo » 6 years ago

it worked, thanks guys
Image

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#25

Post by johnnysins2000 » 6 years ago

Also add Low Gravity In Supply Box as well
Nobody Is That Busy If They Make Time :roll:

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#26

Post by Spir0x » 6 years ago

i can't put a model for this parachute plugin :/ update sma please.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#27

Post by Raheem » 6 years ago

The authors not make it with model but anyway i'll do one for you.
He who fails to plan is planning to fail

User avatar
th3_king
VIP
VIP
Egypt
Posts: 35
Joined: 6 years ago
Location: Egypt
Contact:

#28

Post by th3_king » 6 years ago

i have proplem with parachute ... when i jump it give me high gravity ... please fix it thanks ! :)

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#29

Post by johnnysins2000 » 6 years ago

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 ?
Nobody Is That Busy If They Make Time :roll:

User avatar
th3_king
VIP
VIP
Egypt
Posts: 35
Joined: 6 years ago
Location: Egypt
Contact:

#30

Post by th3_king » 6 years ago

Yes

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#31

Post by johnnysins2000 » 6 years ago

Th3 King wrote: 6 years agoYes
:p I will add it soon no worries
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#32

Post by Raheem » 6 years ago

Try:
He who fails to plan is planning to fail

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#33

Post by johnnysins2000 » 6 years ago

Raheem wrote: 6 years ago Try:
  • parachute.rar
na... with this u can't even jump .... and this plugin again caused that zombie invincible bug so i advise everyone not to use it !
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#34

Post by Raheem » 6 years ago

I forget to remove line i was test with, Removed test now..
He who fails to plan is planning to fail

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#35

Post by johnnysins2000 » 6 years ago

Raheem wrote: 6 years ago I forget to remove line i was test with, Removed test now..
  • parachute.rar
This code is supposed to show parachute model ?
Nobody Is That Busy If They Make Time :roll:

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#36

Post by Spir0x » 6 years ago

No xD i have opened his code now there's not a model line. :) jhonny why i can't download Zombie Escape VIP system link down?

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#37

Post by johnnysins2000 » 6 years ago

Spir0x wrote: 6 years ago No xD i have opened his code now there's not a model line. :) jhonny why i can't download Zombie Escape VIP system link down?
IDK

Raheem uploaded The Rar file

I have Updated The Code of VIP system (not posted here)

With Flag E and F

Flag E = For Damage Increaser
Flag F = No Recoil (Maybe Bad)

Maybe I should add No fall Damage Instead Of No Recoil ?
Nobody Is That Busy If They Make Time :roll:

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#38

Post by Spir0x » 6 years ago

where posted :v i'll use the flag E
jhonny make a parachute with model bro :)

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#39

Post by Raheem » 6 years ago

johnnysins2000 wrote: 6 years ago This code is supposed to show parachute model ?
No, It does not support models for now. I'll add it this because this parachute is not made by me i just added some natives & cvars this parachute is using ReAPI so it's recommended.
Spir0x wrote: 6 years ago No xD i have opened his code now there's not a model line. :) jhonny why i can't download Zombie Escape VIP system link down?
Not down but check your connection, Our links is on our host so if it's down the website should be down also.
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#40

Post by Spir0x » 6 years ago

Okey bro :/

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 1 guest