PHP- Kodu:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg","eDeathMsg","a")
}
public eDeathMsg() {
new olduren_takim[32],olen_takim[32],olduren[32],olen[32];
new victim = read_data(2)
new attacker = read_data(1)
get_user_name(attacker,olduren,31)
get_user_name(victim,olen,31)
switch(get_user_team(attacker)) {
case 1: olduren_takim = "T";
case 2: olduren_takim = "CT";
}
switch(get_user_team(victim)) {
case 1: olen_takim = "T";
case 2: olen_takim = "CT";
}
set_hudmessage(255, 255, 0, -1.0, 0.20, 0, 0.5, 5.0, 2.0, 2.0, -1);
show_hudmessage(0,"%s Takimindan %s: %s Takimindan %s Adli Kisiyi Oldurdu",olduren_takim,olduren,olen_takim,olen)
}