PHP Code:
public MHO_Damage(id)
{
new damage = read_data(2)
//new attacker = read_data(1)
new szName[32] get_user_name(id, szName, 31)
new P_A_Name = get_user_attacker(id)
//get_user_name(idInflictor, P_A_Name[idInflictor], 31)
server_print("--MHO MOD-- [DAMAGE] %s took: %i from: %s", szName, damage, P_A_Name) //PlayerXP[idInflictor] += damage //ShowHUD(attacker)
}
using this, in the console i get the name of my server as the attacker, any idea what i did wrong?
__________________