View Single Post
NOTORIOUS7302
Member
Join Date: Nov 2018
Location: Anonymous
Old 09-03-2019 , 19:27   Re: Kill Log that shows on console for CS 1.6
Reply With Quote #6

Quote:
Originally Posted by iceeedr View Post
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!",KillNameVicNamewpnindex)


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.
NOTORIOUS7302 is offline