#include <amxmodx>
#include <amxmisc>
#include <fun>
#define PLUGIN "Granaty"
#define VERSION "1.0"
#define AUTHOR "Whisper"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "eDeath", "a");
}
public eDeath() {
new attacker = read_data( 1 );
new ofiara = read_data( 2 );
if(ofiara != attacker && attacker != 0)
{
if(get_user_team(attacker) != get_user_team(ofiara))
{
give_item(attacker, "weapon_hegrenade");
give_item(attacker, "weapon_flashbang");
give_item(attacker, "weapon_flashbang");
}
}
}
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
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.
|
Guest Message by DevFuse