Raised This Month: $13 Target: $400
 3% 

Solved End round protect player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoRiLliAz
Senior Member
Join Date: May 2013
Old 12-10-2017 , 06:36   End round protect player
Reply With Quote #1

Hi ,

We are looking for an end-of-round protection plugins.

We use the PTB plugins but when the players are put in the other team they are killed permanently.
We would like to prevent that.

Thanks for the help.
__________________


Last edited by GoRiLliAz; 12-18-2017 at 11:31.
GoRiLliAz is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 12-13-2017 , 08:14   Re: End round protect player
Reply With Quote #2

Anybody ?
__________________

GoRiLliAz is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-13-2017 , 08:17   Re: End round protect player
Reply With Quote #3

What is PTB?
__________________
Problem with ZP?
ZP Helper!
zmd94 is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: Catlands
Old 12-13-2017 , 10:19   Re: End round protect player
Reply With Quote #4

Afaik is sort of team balancer plugin.
__________________
Relaxing is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-13-2017 , 11:05   Re: End round protect player
Reply With Quote #5

Thank you, Relaxing. So, just try this plugin:

https://forums.alliedmods.net/showthread.php?t=248415
__________________
Problem with ZP?
ZP Helper!

Last edited by zmd94; 12-13-2017 at 11:05.
zmd94 is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 12-14-2017 , 11:47   Re: End round protect player
Reply With Quote #6

Hello

Thank you for taking the time to answer me.
The plugins is:
https://forums.alliedmods.net/showthread.php?t=26598

Your plugin protects players at spawn, I am looking for a plugins that protects at the time of the event "CT/T Team Win".
As the plugins transfers the players at the end of the round and some players take advantage to kill the players transferred.

Thank you.
__________________

GoRiLliAz is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-14-2017 , 21:34   Re: End round protect player
Reply With Quote #7

Just try below plugin:

HTML Code:
#include <amxmodx>
#include <fun>

public plugin_init() 
{
	register_plugin("End Round Protect", "0.1", "zmd94")
	
	register_logevent("RoundStart", 2, "1=Round_Start")
	register_logevent("RoundEnd", 2, "1=Round_End") 
}

public RoundStart()
{
	new iPlayers[32], iPlayerCount, i, iId
	get_players(iPlayers, iPlayerCount, "a") 
	for(i = 0; i < iPlayerCount; i++)
	{
		iId = iPlayers[i]
		set_user_godmode(iId, 0)
	}
}

public RoundEnd()
{
	new iPlayers[32], iPlayerCount, i, iId
	get_players(iPlayers, iPlayerCount, "a") 
	for(i = 0; i < iPlayerCount; i++)
	{
		iId = iPlayers[i]
		set_user_godmode(iId, 1)
	}
}
__________________
Problem with ZP?
ZP Helper!

Last edited by zmd94; 12-14-2017 at 21:36.
zmd94 is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 12-15-2017 , 15:04   Re: End round protect player
Reply With Quote #8

Thank you!
I'm testing tomorrow with one of my admins
__________________

GoRiLliAz is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-15-2017 , 21:30   Re: End round protect player
Reply With Quote #9

Welcome.
__________________
Problem with ZP?
ZP Helper!
zmd94 is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 12-18-2017 , 11:30   Re: End round protect player
Reply With Quote #10

Thank you!
It works perfectly
__________________

GoRiLliAz is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:49.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode