|
Member
Join Date: Nov 2018
Location: Anonymous
|
09-03-2019
, 19:27
Re: Kill Log that shows on console for CS 1.6
|
#6
|
Quote:
Originally Posted by iceeedr
Sorry, I just posted the function, it's there, just compile.
PHP Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("Killer's name", "0.1", "alliedmodders")
}
public client_death(killer,victim,wpnindex,hitplace,TK)
{
new KillName[32], VicName[32]
get_user_name(killer,KillName,charsmax(KillName))
get_user_name(victim,VicName,charsmax(VicName))
client_print(0,print_chat,"%s killed %s with %s!",KillName, VicName, wpnindex)
}
|
Unfortunately, this hasn't been answered in almost a year. The problem is that it says that the "killer" killed "victim" but doesn't show the name or model of the weapon that was used.
|
|
|
|