but when i try to kill target using gun
it can't detect the killer id
maybe this cause my problem
PHP Code:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
i sethpmanually code here then return 0; to avoid default damage
return 0;// i think this one is the cause of the issue, but if i removed this, my server side damage will mess up
}
OnplayerDeath Killer ID Undefined
Aucun commentaire:
Enregistrer un commentaire