OnPlayerTakeDamage - bodypart parameter
#1

When onplayertakedamage event is called, the bodypart parameter is always 1,
even when I shoot at diffrent places, I've debugged it like this;

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
    printf("bodypart = %d", bodypart);
// rest of the code ..
return 1;
}
Reply


Messages In This Thread
OnPlayerTakeDamage - bodypart parameter - by Salim_Karaja - 07.05.2014, 17:54
Re: OnPlayerTakeDamage - bodypart parameter - by Jochemd - 08.05.2014, 19:35

Forum Jump:


Users browsing this thread: 1 Guest(s)