valaki ebbe bele tudná írni a kick jogot?
/*
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <hlsdk_const>
#define PLUGIN "Eseskor nincs sebzes"
#define VERSION "1.0"
#define AUTHOR "CastBounD"
new g_team
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")
g_team = register_cvar("Csapat", "CS_TEAM_SPECTATOR")
}
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)
{
if (!(damage_type & DMG_FALL))
{
return HAM_IGNORED;
}
if (get_user_team(victim) == get_pcvar_num(g_team))
{
return HAM_IGNORED;
}
return HAM_SUPERCEDE;
}