try this:
PHP Code:
public HamKilled(iVictim, iAttacker) {
if(!is_user_connected(iVictim) || !is_user_connected(iAttacker)) {
return HAM_IGNORED
}
if(!iVictim || !iAttacker || iAttacker == iVictim) {
return HAM_IGNORED
}
get_user_frags(iAttacker)
get_user_deaths(iVictim)
return HAM_IGNORED
}
and
PHP Code:
public test(id) {
client_print(id, print_chat, "Your kills: %d, deaths: %d", iAttacker, iVictim)
}
If it doesn't work or if it wasn't what do you wanted , tell me
[PS: Im new on this]