PHP Code:
public client_death(killer, victim, wpnindex, hitplace, TK)
{
new headshot = (hitplace == HIT_HEAD);
msg("Kill Status: Killer: %s / Victim: %s / Weapon: %d / Hitplace: %s / TK: %d / HeadShot %d",killer, victim, wpnindex, hitplace, TK, headshot);
}
when i am killing someone with headshot the msg is showing to me that i've killed him with headshot... from the var:
new headshot = (hitplace == HIT_HEAD);
but when i am echoing the hitplace is appearing like a number and not like a string :/
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))