Szukam pluginu na jaila, ktory jak minie 90sekund (tt moze sie buntowac), jeżeli ktoś z tt zabije CT to nie widać ktory to go zabił tylko widać w prawym górnym rogu brak nicku zabił kogoś z ct
- brak nicku
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Napisano 30.09.2009 19:33
Napisano 03.10.2009 18:01
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#define PLUGIN "Jail Break: Bunt wiezniow - sekundy"
#define VERSION "1.0"
#define AUTHOR "Sn!ff3r"
new cvar_time
new Float:roundtime
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
cvar_time = register_cvar("jail_czasbuntu", "90")
register_logevent("round_start", 2, "1=Round_Start")
RegisterHam(Ham_TakeDamage, "player", "client_damage")
}
public round_start()
{
roundtime = get_gametime()
}
public client_damage(victim, entid, attacker, Float:damage, damagebits)
{
if(get_user_team(attacker) == 1 && get_user_team(victim) == 2)
{
static Float:nowtime, timer
nowtime = get_gametime()
timer = get_pcvar_num(cvar_time)
if((nowtime - roundtime) < float(timer))
{
client_print(attacker, print_chat, "Nie mozesz jeszcze rozpoczac buntu!")
return HAM_SUPERCEDE
}
}
return HAM_IGNORED
}#include <amxmodx>
#include <cstrike>
#define VERSION "0.0.2"
#define IsPlayer(%1) ( 1 <= %1 <= g_iMaxPlayers )
new g_iMaxPlayers
public plugin_init()
{
register_plugin("Jail Hide Ts Kills", VERSION, "ConnorMcLeod")
register_message(get_user_msgid("DeathMsg"), "Message_DeathMsg")
g_iMaxPlayers = get_maxplayers()
}
public Message_DeathMsg()
{
new iKiller = get_msg_arg_int(1)
if( IsPlayer(iKiller) && cs_get_user_team(iKiller) == CS_TEAM_T )
{
set_msg_arg_int(1, ARG_BYTE, get_msg_arg_int(2))
}
}
Napisano 03.10.2009 18:10
0 użytkowników, 0 gości, 0 anonimowych