PDA

View Full Version : Show where player got hit after death


cuemur
13/02/2014, 05:33 PM
I need script which shows in what bodypats he got hit after death...

SniperArmy
13/02/2014, 05:37 PM
I need script which shows in what bodypats he got hit after death...

That is coming with 0.3z

Yashas
13/02/2014, 05:43 PM
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
switch(bodypart)
{
case BODY_PART_TORSO: //DO WHAT EVER YOU WANT
case BODY_PART_GROIN://DO WHAT EVER YOU WANT
case BODY_PART_LEFT_ARM://DO WHAT EVER YOU WANT
case BODY_PART_RIGHT_ARM://DO WHAT EVER YOU WANT
case BODY_PART_LEFT_LEG://DO WHAT EVER YOU WANT
case BODY_PART_RIGHT_LEG://DO WHAT EVER YOU WANT
case BODY_PART_HEAD://DO WHAT EVER YOU WANT
}
}

SniperArmy
13/02/2014, 06:00 PM
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart)
{
switch(bodypart)
{
case BODY_PART_TORSO: //DO WHAT EVER YOU WANT
case BODY_PART_GROIN://DO WHAT EVER YOU WANT
case BODY_PART_LEFT_ARM://DO WHAT EVER YOU WANT
case BODY_PART_RIGHT_ARM://DO WHAT EVER YOU WANT
case BODY_PART_LEFT_LEG://DO WHAT EVER YOU WANT
case BODY_PART_RIGHT_LEG://DO WHAT EVER YOU WANT
case BODY_PART_HEAD://DO WHAT EVER YOU WANT
}
}



You just silenced me xD