Vin Mar 29, 2013 5:18 pmSanduVin Mar 29, 2013 5:18 pm
Sandu
Sandu
User
Noob Respawn
Informatii:
Denumire plugin: Noob Respawn
Plugin pentru: AmxModX
Descriere: Jucatorii primesc respawn in primele 10 secunde (sau un timp setat in sursa).
Versiune: 1.0
Autor: Wrecked
Link oficial: [Trebuie sa fiti inscris si conectat pentru a vedea acest link] ... ost1192846
Instalare: Cod: noobrespawn.amxx
1. Fisierul noobrespawn.amxx il puneti in addons/amxmodx/plugins
2. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Descarcare:http://www48.zippyshare.com/v/82135278/file.html
Fisier sursa: Cod: #include
#include
#define TIME_INTERVAL 10.0
new Float:RoundStartTime
new bool:bRespawn[33]
public plugin_init()
{
register_plugin( "Respawn Timer", "1.0", "Wrecked" )
register_logevent( "LogEventRoundStart", 2, "1=Round_Start" )
RegisterHam( Ham_Killed, "player", "HamKilledPost", 1 )
}
public LogEventRoundStart()
{
RoundStartTime = get_gametime()
new iPlayers[32]
new iNum
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
bRespawn[iPlayers[i]] = true
}
}
public HamKilledPost( Victim )
{
if( ( RoundStartTime + TIME_INTERVAL >= get_gametime() ) && bRespawn[Victim] )
{
ExecuteHamB( Ham_CS_RoundRespawn, Victim )
bRespawn[Victim] = false
client_print( Victim, print_chat, "Ai primit respawn!" )
}
}
*Puteti edita timpul de respawn in sursa, linia: Cod: Selectaţi tot #define TIME_INTERVAL 10.0
Informatii:
Denumire plugin: Noob Respawn
Plugin pentru: AmxModX
Descriere: Jucatorii primesc respawn in primele 10 secunde (sau un timp setat in sursa).
Versiune: 1.0
Autor: Wrecked
Link oficial: [Trebuie sa fiti inscris si conectat pentru a vedea acest link] ... ost1192846
Instalare: Cod: noobrespawn.amxx
1. Fisierul noobrespawn.amxx il puneti in addons/amxmodx/plugins
2. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:
Descarcare:http://www48.zippyshare.com/v/82135278/file.html
Fisier sursa: Cod: #include
#include
#define TIME_INTERVAL 10.0
new Float:RoundStartTime
new bool:bRespawn[33]
public plugin_init()
{
register_plugin( "Respawn Timer", "1.0", "Wrecked" )
register_logevent( "LogEventRoundStart", 2, "1=Round_Start" )
RegisterHam( Ham_Killed, "player", "HamKilledPost", 1 )
}
public LogEventRoundStart()
{
RoundStartTime = get_gametime()
new iPlayers[32]
new iNum
get_players( iPlayers, iNum )
for( new i = 0; i < iNum; i++ )
{
bRespawn[iPlayers[i]] = true
}
}
public HamKilledPost( Victim )
{
if( ( RoundStartTime + TIME_INTERVAL >= get_gametime() ) && bRespawn[Victim] )
{
ExecuteHamB( Ham_CS_RoundRespawn, Victim )
bRespawn[Victim] = false
client_print( Victim, print_chat, "Ai primit respawn!" )
}
}
*Puteti edita timpul de respawn in sursa, linia: Cod: Selectaţi tot #define TIME_INTERVAL 10.0