AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   Solved End round protect player (https://forums.alliedmods.net/showthread.php?t=303511)

GoRiLliAz 12-10-2017 06:36

End round protect player
 
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.

GoRiLliAz 12-13-2017 08:14

Re: End round protect player
 
Anybody ?

zmd94 12-13-2017 08:17

Re: End round protect player
 
What is PTB?

Relaxing 12-13-2017 10:19

Re: End round protect player
 
Afaik is sort of team balancer plugin.

zmd94 12-13-2017 11:05

Re: End round protect player
 
Thank you, Relaxing. So, just try this plugin:

https://forums.alliedmods.net/showthread.php?t=248415

GoRiLliAz 12-14-2017 11:47

Re: End round protect player
 
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.

zmd94 12-14-2017 21:34

Re: End round protect player
 
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)
        }
}


GoRiLliAz 12-15-2017 15:04

Re: End round protect player
 
Thank you!
I'm testing tomorrow with one of my admins

zmd94 12-15-2017 21:30

Re: End round protect player
 
Welcome.

GoRiLliAz 12-18-2017 11:30

Re: End round protect player
 
Thank you!
It works perfectly


All times are GMT -4. The time now is 04:51.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.